PDA

View Full Version : [perl] how to convert a UTC date?



jetalomar
March 30th, 2007, 09:32
I just started programming in perl, and i have experience with php,vbscript, java, c# etc.
I'm having a hard time trying to convert a date into UTC format.

I tried using the gmtime() functions, however it returns with a too many arguments when i'm passing the right amount of arguments.

Can someone show me the easier way to make a UTC time in perl?