in reply to Mac timestamp

I don't have a Mac and therefore cannot test, but if you are using Perl's internal date functions, you should not have to worry about whether you are under Unix, Mac, Windows or whatever, Perl will manage it for you.