use POSIX 'strftime'; my $date = strftime '%Y-%m-%d', localtime; [download]
In reply to Re: Date displaying the 0's by jwkrahn in thread Date displaying the 0's by Anonymous Monk