in reply to Date Format Date::Calc
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());
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Date Format Date::Calc
by Marshall (Canon) on Nov 19, 2010 at 20:49 UTC |