Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: MySQL Timestamp from CDBI to TT Date Plugin

by mugwumpjism (Hermit)
on Jun 16, 2005 at 21:43 UTC ( [id://467459]=note: print w/replies, xml ) Need Help??


in reply to MySQL Timestamp from CDBI to TT Date Plugin

I find it laughable that this standard ISO8660 date format is not as widely supported as you'd expect of a standard date format.

You can use this via the Date plugin if you have Date::Manip installed;

[% manip = date.manip %] [% manip.UnixDate("2012-12-21 06:32:12","%Y %b %d %H:%M") %]
$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Log In?
Username:
Password:

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

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

    No recent polls found