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> October 18, 2017 (June 1, 2002)
<#date2> 10/18/17 (01/30/02)
<#datelong> 10/18/2017 (01/30/2002)
<#day> 18 (1-31)
<#day2> 18 (01-31)
<#gmttime>
1508389983 Greenwich Mean Time's seconds since 1970.
<#gmttime2>
1508389983.685393 Greenwich Mean Time's seconds since 1970, with microseconds.
<#hour> 9 (1-12)
<#hour2> 09 (01-12)
<#hour24> 21 (00-23)
<#hour24min> 21:13 (23:00)
<#hourmin> 9:13 (1:00)
<#leapyear> 0 (0-1)
<#meridian> pm (am/pm)
<#minutes> 13 (00-59)
<#month> October (January-December)
<#month2> 10 (01-12)
<#monthabbr> Oct (Jan-Dec)
<#monthdays> 31 (28-31)
<#seconds> 03 (00-59)
<#time> 1508361183 Local time's seconds since 1970.
<#time2> 1508361183.685393 Local time's seconds since 1970, with microseconds.
<#timebasic> 10/18/2017 9:13 pm (01/30/2002 1:00 pm)
<#timefull> 10/18/2017 09:13:03 pm (01/30/2002 01:00:00 pm)
<#timefull24> 10/18/2017 21:13:03 (01/30/2002 13:00:00)
<#timeiso> 2017-10-18T09:13:03-08:00 (YYYY-MM-DDTHH:MM:SSZ) the ISO 8601 standard time format.
<#timer> 0.049444 The time since the beginning of the intial page request - returns the amount of microseconds (rounded) then converted to seconds.
<#timer_since> 0.000351 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/10/18 09:13:03 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> 42 (1-52)
<#weekday> Wednesday (Monday-Sunday)
<#weekdayabbr> Wed (Mon-Sun)
<#weekdayindex> 3 (0-6, 0=Sun.)
<#wweek> W42 (W01-W52)
<#year> 2017 (2000)
<#year2> 17 (00-99)
<#yearday> 291 (1-365)