Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Converting datetime string to valid localtime value (seconds)

by Anonymous Monk
on Oct 29, 2018 at 20:03 UTC ( #1224875=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::Local;
    @t = split(/[ :]/,scalar(localtime(time)));
    ...
          scalar(localtime(timelocal($t[5],$t[4],$t[3],$t[2],$mon,$t[6])))
    +,"\n");'
    Mon Oct 29 15:59:06 2018
    Mon Oct 29 15:59:06 2018
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-07-02 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?