P is for Practical | |
PerlMonks |
Re: convert iso8601 to epoch time without using additional moduleby jethro (Monsignor) |
on Mar 13, 2014 at 12:02 UTC ( [id://1078172]=note: print w/replies, xml ) | Need Help?? |
You could parse iso8601 and use Time::Local to convert to epoch. This module is part of core AFAIK so you should have it installed already. If this is too complicated there is always the ninja method of copying a module source like Date::ISO8601 and put it beside your script or insert the needed parts into your script.
In Section
Seekers of Perl Wisdom
|
|