On Sep 27, 2012, at 8:16 AM, Chris Stinemetz wrote: > Hello List, > > I have the following millisecond value: 54599684 > This represents a timestamp reported as milliseconds past midnight local time. > > Is there a module to convert this into a hh::mm format? Or a Perlish > example to handle this?
my $t=54599684; printf("%02d:%02d\n", ($t/3600000),(($t/60000)%60)); 15:09 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/