Mauricio Tavares wrote:
> I am doign some stuff using awk to a file and need to convert some
> time stamps in 12h format to 24h format. Can I do that or need to throw
> in some perl-foo?
You can probably use strftime() but I believe it expects the input
format as seconds-since-epoch, so you would need to convert the input
Have you tried using GNU date to do the conversion. Depending on your
timestamps, and what you expect as output, it may just do the right
$ date -d 'Wed Oct 23 05:53:36PM EDT 2007'
Tue Oct 23 17:53:36 EDT 2007
James Oulman <[log in to unmask]>
CNS/Open Systems Group