in reply to convert local time to unix epoch time

The two / three functions are unimaginatively called localtime, gmtime and time. Also of interest might be Time::Local, depending on your needs.

  • Comment on Re: convert local time to unix epoch time

Replies are listed 'Best First'.
Re^2: convert local time to unix epoch time
by irah (Pilgrim) on Feb 03, 2009 at 11:57 UTC
    gmtime function will suite for your scenario. Please check the CPAN module Date::Calc and Date::Manip for further more details.