This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:mktime [2017/05/11 23:20] jeff |
uphp:functions:mktime [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 33: | Line 33: | ||
< | < | ||
- | < | + | < |
< | < | ||
Line 47: | Line 47: | ||
Unlike mainline PHP, in uPHP "Linux Timestamps" | Unlike mainline PHP, in uPHP "Linux Timestamps" | ||
- | Technically, | + | Technically, |
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. | ||
Line 54: | Line 54: | ||
In other words: | In other words: | ||
+ | |||
+ | ====Note==== | ||
+ | This differs from the traditional PHP implementation in that the month variable is 0-11 rather than 1-12. This was due to an early implementation error which we are unable to modify now since too many devices use the code. | ||
====See Also==== | ====See Also==== |