in reply to Mac timestamp
G'day starface245,
The following examples are run on a Mac.
The localtime function may be sufficient for your needs:
$ perl -le 'print scalar localtime' Thu Dec 12 04:41:39 2013
For formatted dates, take a look at Time::Piece. Here's what the default format produces:
$ perl -MTime::Piece -le 'print localtime->strftime' Thu, 12 Dec 2013 04:42:06 EST
-- Ken
|
|---|