For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2004 > date format conversion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author date format conversion
Mig21

2004-10-25, 8:55 pm

hi

im a newbie to perl, hope i'm in the right place

i need to convert datetime between two formats: epoch time (or any
equivalent of that) and pretty unix time (the same that's used in cookies)

even if you just point me to a resource on the net, i would be gratefull

thanks
Chris Cole

2004-10-26, 8:55 am

On Mon, 25 Oct 2004 16:02:04 -0400, Mig21 wrote:

> hi
>
> im a newbie to perl, hope i'm in the right place
>
> i need to convert datetime between two formats: epoch time (or any
> equivalent of that) and pretty unix time (the same that's used in cookies)
>
> even if you just point me to a resource on the net, i would be gratefull
>
> thanks


perldoc -f localtime
perldoc -f time
Mig21

2004-10-28, 8:55 pm

Chris Cole wrote:
> On Mon, 25 Oct 2004 16:02:04 -0400, Mig21 wrote:
>
>
>
>
> perldoc -f localtime
> perldoc -f time


thank you very much

i didn't know about that -f switch. wonder why i need it

cheers
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com