[Timing in Ticks] Verify my calculation.

Discussion in 'Plugin Development' started by Matthewenderle, Jul 2, 2012.

Thread Status:
Not open for further replies.
  1. So I am making an awesome script and I am new to the "ticks". It's the twenty-ticks/second that throws me off. I litterally nailed a whiteboard on my wall, seriously and computed for about 45 min. I started with a Tick amount of 3,743,123 and converted it to days-months-hours-minutes-seconds. What I got was 2 days - 3 hours - 59 minutes - 16 seconds. I'm not in school right now so my brain is at a fart and here is a table that I came up with for the ratio of ticks/second.

    Seconds | Ticks | Notes

    1 20 One Second
    60 1200 One Minute
    3600 72,000 One Hour
    86,400 1,728,000 One Day

    So basically I'm asking if a generous person could just verify my calculations.
     
  2. if my calculations are good, the result is correct
    my results (open)
    1 * 20 = 20
    60 * 20 = 1200
    3600 * 20 = 72000
    86400 * 20 = 1728000
     
  3. Offline

    stelar7

    t/s = 20
    t/m = 20*60 = 1200
    t/h = 20*60*60 = 72000
    t/day = 20*60*60*24 = 1728000
    t/week = 20*60*60*24*7 = 12096000
    t/month(30.4days) = 20*60*60*24*30,4 = 52531200
    t/year(365.2days) = 20*60*60*24*365,2 = 631065600
     
Thread Status:
Not open for further replies.

Share This Page