That depends entirely on where your time data comes from. If it is based on local time, you have no choice but timelocal. If it is based on UTC, timegm will do.
After Compline,
Zaxo
In reply to Re: Timegm and timelocal
by Zaxo
in thread Timegm and timelocal
by Chon-Ji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |