It accepts both.
Yes, davorg also pointed out my error. I had always thought that localtime() and timelocal() were essentially mirrors of each other. Now I know better. Re. your habitual $m-1, that's very sound reasoning; perhaps I should do the same.
I saw davorg's reply to my post just as I was leaving work so I didn't have time to correct my error. I will do so now.
Cheers,
JohnGG
In reply to Re^4: epoch time
by johngg
in thread epoch time
by palette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |