Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: convert iso8601 to epoch time without using additional module

by jethro (Monsignor)
on Mar 13, 2014 at 12:02 UTC ( [id://1078172]=note: print w/replies, xml ) Need Help??


in reply to convert iso8601 to epoch time without using additional module

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.

  • Comment on Re: convert iso8601 to epoch time without using additional module

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1078172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2025-07-17 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.