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> May 22, 2018 (June 1, 2002)
<#date2> 05/22/18 (01/30/02)
<#datelong> 05/22/2018 (01/30/2002)
<#day> 22 (1-31)
<#day2> 22 (01-31)
<#gmttime>
1527025274 Greenwich Mean Time's seconds since 1970.
<#gmttime2>
1527025274.321130 Greenwich Mean Time's seconds since 1970, with microseconds.
<#hour> 1 (1-12)
<#hour2> 01 (01-12)
<#hour24> 13 (00-23)
<#hour24min> 13:41 (23:00)
<#hourmin> 1:41 (1:00)
<#leapyear> 0 (0-1)
<#meridian> pm (am/pm)
<#minutes> 41 (00-59)
<#month> May (January-December)
<#month2> 05 (01-12)
<#monthabbr> May (Jan-Dec)
<#monthdays> 31 (28-31)
<#seconds> 14 (00-59)
<#time> 1526996474 Local time's seconds since 1970.
<#time2> 1526996474.321130 Local time's seconds since 1970, with microseconds.
<#timebasic> 05/22/2018 1:41 pm (01/30/2002 1:00 pm)
<#timefull> 05/22/2018 01:41:14 pm (01/30/2002 01:00:00 pm)
<#timefull24> 05/22/2018 13:41:14 (01/30/2002 13:00:00)
<#timeiso> 2018-05-22T01:41:14-08:00 (YYYY-MM-DDTHH:MM:SSZ) the ISO 8601 standard time format.
<#timer> 0.050173 The time since the beginning of the intial page request - returns the amount of microseconds (rounded) then converted to seconds.
<#timer_since> 0.000384 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> 2018/05/22 01:41:14 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> 21 (1-52)
<#weekday> Tuesday (Monday-Sunday)
<#weekdayabbr> Tue (Mon-Sun)
<#weekdayindex> 2 (0-6, 0=Sun.)
<#wweek> W21 (W01-W52)
<#year> 2018 (2000)
<#year2> 18 (00-99)
<#yearday> 142 (1-365)