Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Epoch to Mysql datetime format

by Juerd (Abbot)
on Mar 10, 2004 at 13:56 UTC ( [id://335439]=note: print w/replies, xml ) Need Help??


in reply to Epoch to Mysql datetime format - DO NOT USE

Alternatively,

use POSIX qw(strftime); sub mysqltime (;$) { strftime '%Y-%m-%d %H:%M:%S', localtime shift }

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-19 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found