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";
|
|---|