good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Converting from "time" into a nice string?by ultranerds (Hermit) |
on Nov 14, 2008 at 13:18 UTC ( [id://723645]=perlquestion: print w/replies, xml ) | Need Help?? |
ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
Hi, This should be a piece of cake for you guys, but I can't for the life of me work out how to do it :( I have strings like: 1226667500 1226667512 1226667877 1226667880 1226667918 1226667936 (these examples are all from today, just taken a minute or 2 appart). What I need to do, is convert them to something like: 14/11/2008 13:17:43 ..can anyone suggest the best approach for this? I've had a look at Time::Local and Time::Epoch, but they don't seem to do what I need :( TIA for any suggestions! Andy
Back to
Seekers of Perl Wisdom
|
|