I apologize in advance for being picky...
my $todays_date = strftime '%d.%m.%y', localtime;Is there a better (shorter) way?
Maybe not shorter, but certainly better:
my $todays_date = strftime '%d.%m.%Y', localtime;
The current year is 2005, not 5. See also Markus Kuhn's excellent ISO 8601 page for en even better format.
In reply to Re: Best way to get DD.MM.YY
by Celada
in thread Best way to get DD.MM.YY
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |