Time Variables

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

Time & Date

...can change timezone (in Page's Aux for example)? <#timezone += 3> for a specific page for example? How to initiate get_time and timetoepoch etc? Plus all the time + _result variables too!

Variable Result Description
<#date> December 17, 2017 (June 1, 2002)
<#date2> 12/17/17 (01/30/02)
<#datelong> 12/17/2017 (01/30/2002)
<#day> 17 (1-31)
<#day2> 17 (01-31)
<#gmttime>
1513572766 Greenwich Mean Time's seconds since 1970.
<#gmttime2>
1513572766.202970 Greenwich Mean Time's seconds since 1970, with microseconds.
<#hour> 8 (1-12)
<#hour2> 08 (01-12)
<#hour24> 20 (00-23)
<#hour24min> 20:52 (23:00)
<#hourmin> 8:52 (1:00)
<#leapyear> 0 (0-1)
<#meridian> pm (am/pm)
<#minutes> 52 (00-59)
<#month> December (January-December)
<#month2> 12 (01-12)
<#monthabbr> Dec (Jan-Dec)
<#monthdays> 31 (28-31)
<#seconds> 46 (00-59)
<#time> 1513543966 Local time's seconds since 1970.
<#time2> 1513543966.202970 Local time's seconds since 1970, with microseconds.
<#timebasic> 12/17/2017 8:52 pm (01/30/2002 1:00 pm)
<#timefull> 12/17/2017 08:52:46 pm (01/30/2002 01:00:00 pm)
<#timefull24> 12/17/2017 20:52:46 (01/30/2002 13:00:00)
<#timeiso> 2017-12-17T08:52:46-08:00 (YYYY-MM-DDTHH:MM:SSZ) the ISO 8601 standard time format.
<#timer> 0.049332 The time since the beginning of the intial page request - returns the amount of microseconds (rounded) then converted to seconds.
<#timer_since> 0.000377 The time since the beginning of the intial page request or since the instance of timer - returns the amount of microseconds (rounded) thens converted to seconds.
<#timesort> 2017/12/17 08:52:46 pm (YYYY/MM/DD HH:MM:SS mm) a time format that can be sorted without first needing to convert it to epoch.
<#timezone> -8 The hour difference to set the current time zone (for the account). (-12 through 13)
<#timezoneoffset> 0 Hours to add (or deduct) if system time is not GMT.
<#week> 50 (1-52)
<#weekday> Sunday (Monday-Sunday)
<#weekdayabbr> Sun (Mon-Sun)
<#weekdayindex> 0 (0-6, 0=Sun.)
<#wweek> W50 (W01-W52)
<#year> 2017 (2000)
<#year2> 17 (00-99)
<#yearday> 351 (1-365)