Use Today_and_Now() so you can get the hour/minute/second portion.
use strict; use warnings; use Date::Calc qw(Today_and_Now); print sprintf("%4d-%2d-%2d %2d:%2d:%2d.000", Today_and_Now());
In reply to Re: Date Format Date::Calc
by PeterPeiGuo
in thread Date Format Date::Calc
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |