Time Conversions

"It's still web development, it's just way easier!"

Time & Date

Time Units

Nanoseconds, Microseconds, Milliseconds, Seconds, Minutes, Hours, Days, Weeks, Months, Years, Decades, Centuries, Milleniums

Default: Convert to Seconds

  • <#Test = 1>
Is Type Convert To Test Result
Seconds Nanoseconds <#Test(Seconds,Nanoseconds)> 1000000000
Seconds Microseconds <#Test(Seconds,Microseconds)> 1000000
Seconds Milliseconds <#Test(Seconds,Milliseconds)> 1000
Nanoseconds Seconds <#Test(Nanoseconds,Seconds)> 1e-09
Microseconds Seconds <#Test(Microseconds,Seconds)> 1e-06
Milliseconds Seconds <#Test(Milliseconds,Seconds)> 0.001
Minutes Seconds <#Test(Minutes,Seconds)> 60
Hours Seconds <#Test(Hours,Seconds)> 3600
Days Hours <#Test(Days,Hours)> 24
Weeks Hours <#Test(Weeks,Hours)> 168
Years Months <#Test(Years,Months)> 12
Decades Years <#Test(Decades,Years)> 10
Centuries Years <#Test(Centuries,Years)> 1
Milleniums Centuries <#Test(Milleniums,Centuries)> 1
Nanoseconds (seconds) <#Test(Nanoseconds)> 1e-09
Microseconds (seconds) <#Test(Microseconds)> 1e-06
Milliseconds (seconds) <#Test(Milliseconds)> 0.001
Seconds (seconds) <#Test(Seconds)> 1
Minutes (seconds) <#Test(Minutes)> 60
Hours (seconds) <#Test(Hours)> 3600
Days (seconds) <#Test(Days)> 86400
Weeks (seconds) <#Test(Weeks)> 604800
Months (seconds) <#Test(Months)> 2629743.83
Years (seconds) <#Test(Years)> 31556926
Decades (seconds) <#Test(Decades)> 315569260
Centuries (seconds) <#Test(Centuries)> 1
Milleniums (seconds) <#Test(Milleniums)> 31556926000

Date

Epoch (from a valid date format: utc, timefull, timefull24, timesort, datelong, date)

Also, date related functions include: :ToMonthName, :ToMonthAbbr, :ToDayName, :ToDayAbbr (converts 1-12/1-7 to month/day names)

Is Type Convert To Test Result
Epoch (seconds since 1970) <#datelong(Epoch)> 1513468800