ewhitt has asked for the wisdom of the Perl Monks concerning the following question:
Does anyone know of an approach / module that may help? Thanks!($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); printf "%s-%4d-%02d-%02d-%02d:%02d:%02d\n",$0,$year+1900,$mon+1,$mday, +$hour,$min,$sec; e.g. test.pl-2007-11-10-07:09:52 test.pl-2007-11-10-07:11:53 test.pl-2006-11-10-05:05:53
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing time and date stamps
by Corion (Patriarch) on Nov 10, 2007 at 15:24 UTC | |
|
Re: Comparing time and date stamps
by FunkyMonk (Bishop) on Nov 10, 2007 at 15:35 UTC | |
|
Re: Comparing time and date stamps
by dwm042 (Priest) on Nov 10, 2007 at 16:42 UTC | |
|
Re: Comparing time and date stamps
by GrandFather (Saint) on Nov 10, 2007 at 22:51 UTC | |
|
Re: Comparing time and date stamps
by Sixtease (Friar) on Nov 10, 2007 at 15:49 UTC |