Impo Time System

ITS Clock


Why ITS?


API

GET /api/its_nsecs returns the current ITS time as nanoseconds since epoch:

{"nsecs":"1483762602217913"}

The value is an integer string (arbitrary-precision). How to parse:

1 ITS day  = 86400000000000 ns
1 ITS year = 147 days
1 ITS month = 21 days

days       = nsecs / 86400000000000
rem        = nsecs % 86400000000000
seconds    = rem / 1e9
HH:MM:SS   = format from seconds

years      = days / 147
r          = days % 147
months     = r / 21
days_rem   = r % 21