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> August 19, 2017 (June 1, 2002)
<#date2> 08/19/17 (01/30/02)
<#datelong> 08/19/2017 (01/30/2002)
<#day> 19 (1-31)
<#day2> 19 (01-31)
<#gmttime>
1503215457 Greenwich Mean Time's seconds since 1970.
<#gmttime2>
1503215457.935328 Greenwich Mean Time's seconds since 1970, with microseconds.
<#hour> 11 (1-12)
<#hour2> 11 (01-12)
<#hour24> 23 (00-23)
<#hour24min> 23:50 (23:00)
<#hourmin> 11:50 (1:00)
<#leapyear> 0 (0-1)
<#meridian> pm (am/pm)
<#minutes> 50 (00-59)
<#month> August (January-December)
<#month2> 08 (01-12)
<#monthabbr> Aug (Jan-Dec)
<#monthdays> 31 (28-31)
<#seconds> 57 (00-59)
<#time> 1503186657 Local time's seconds since 1970.
<#time2> 1503186657.935328 Local time's seconds since 1970, with microseconds.
<#timebasic> 08/19/2017 11:50 pm (01/30/2002 1:00 pm)
<#timefull> 08/19/2017 11:50:57 pm (01/30/2002 01:00:00 pm)
<#timefull24> 08/19/2017 23:50:57 (01/30/2002 13:00:00)
<#timeiso> 2017-08-19T11:50:57-08:00 (YYYY-MM-DDTHH:MM:SSZ) the ISO 8601 standard time format.
<#timer> 0.048677 The time since the beginning of the intial page request - returns the amount of microseconds (rounded) then converted to seconds.
<#timer_since> 0.000361 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/08/19 11:50:57 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> 33 (1-52)
<#weekday> Saturday (Monday-Sunday)
<#weekdayabbr> Sat (Mon-Sun)
<#weekdayindex> 6 (0-6, 0=Sun.)
<#wweek> W33 (W01-W52)
<#year> 2017 (2000)
<#year2> 17 (00-99)
<#yearday> 231 (1-365)