Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: change the time format into milisecond

by Not_a_Number (Parson)
on Mar 14, 2013 at 21:20 UTC ( #1023559=note: print w/ replies, xml ) Need Help??


in reply to change the time format into milisecond

Time::Local is a core module. Consider:

use feature 'say'; use Time::Local; $_ = 'ALL30 2191967708 201211020915 201303020923'; say 1000 * timelocal( 0, reverse unpack 'A4(A2)*' ) for ( split )[ 2, +3 ];


Comment on Re: change the time format into milisecond
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-02 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls