User Tools

Site Tools


uphp:functions:mktime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
uphp:functions:mktime [2017/05/09 11:31]
jeff
uphp:functions:mktime [2018/09/05 14:05]
jeff Added link to 'wattmons'
Line 39: Line 39:
 <html><b><span style="color:blue">$year<span style="color:black"></b></html>:  Year, four digit representation <html><b><span style="color:blue">$year<span style="color:black"></b></html>:  Year, four digit representation
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  Seconds since January 1, 1970, 00:00:00, local Wattmon time <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  Seconds since January 1, 1970, 00:00:00, local Wattmon time
Line 47: Line 47:
 Unlike mainline PHP, in uPHP "Linux Timestamps" are based upon the Wattmon's local time, not UTC/GMT. Unlike mainline PHP, in uPHP "Linux Timestamps" are based upon the Wattmon's local time, not UTC/GMT.
  
-Technically, the Unix Epoch is defined as being January 1, 1970, 00:00:00 //GMT//. But on the Wattmon, timestamps are relative to January 1, 1970, 00:00:00 //local timezone//.+Technically, the Unix Epoch is defined as being January 1, 1970, 00:00:00 //GMT//. But on the [[hardware:wattmons|Wattmon]], timestamps are relative to January 1, 1970, 00:00:00 //local timezone//.
  
 If the Wattmon clock and timezone are set to UTC+00 (GMT) then the uPHP timestamp //is// the same as mainline PHP, otherwise not. If the Wattmon clock and timezone are set to UTC+00 (GMT) then the uPHP timestamp //is// the same as mainline PHP, otherwise not.
uphp/functions/mktime.txt · Last modified: 2021/09/13 05:57 (external edit)