Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 rifling through the Monastery: (7)
As of 2014-12-27 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls