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> June 23, 2017 (June 1, 2002)
<#date2> 06/23/17 (01/30/02)
<#datelong> 06/23/2017 (01/30/2002)
<#day> 23 (1-31)
<#day2> 23 (01-31)
<#gmttime>
1498281303 Greenwich Mean Time's seconds since 1970.
<#gmttime2>
1498281303.808903 Greenwich Mean Time's seconds since 1970, with microseconds.
<#hour> 9 (1-12)
<#hour2> 09 (01-12)
<#hour24> 21 (00-23)
<#hour24min> 21:15 (23:00)
<#hourmin> 9:15 (1:00)
<#leapyear> 0 (0-1)
<#meridian> pm (am/pm)
<#minutes> 15 (00-59)
<#month> June (January-December)
<#month2> 06 (01-12)
<#monthabbr> Jun (Jan-Dec)
<#monthdays> 30 (28-31)
<#seconds> 03 (00-59)
<#time> 1498252503 Local time's seconds since 1970.
<#time2> 1498252503.808903 Local time's seconds since 1970, with microseconds.
<#timebasic> 06/23/2017 9:15 pm (01/30/2002 1:00 pm)
<#timefull> 06/23/2017 09:15:03 pm (01/30/2002 01:00:00 pm)
<#timefull24> 06/23/2017 21:15:03 (01/30/2002 13:00:00)
<#timeiso> 2017-06-23T09:15:03-08:00 (YYYY-MM-DDTHH:MM:SSZ) the ISO 8601 standard time format.
<#timer> 1.91937 The time since the beginning of the intial page request - returns the amount of microseconds (rounded) then converted to seconds.
<#timer_since> 0.000455 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/06/23 09:15: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> 25 (1-52)
<#weekday> Friday (Monday-Sunday)
<#weekdayabbr> Fri (Mon-Sun)
<#weekdayindex> 5 (0-6, 0=Sun.)
<#wweek> W25 (W01-W52)
<#year> 2017 (2000)
<#year2> 17 (00-99)
<#yearday> 174 (1-365)