User Tools

Site Tools


uphp:functions:time

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
uphp:functions:time [2017/05/09 11:33]
jeff
uphp:functions:time [2021/09/13 05:57] (current)
Line 16: Line 16:
 None None
  
-====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 24: Line 24:
 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/time.1494329586.txt.gz · Last modified: 2021/09/13 05:56 (external edit)