ghenry has asked for the wisdom of the Perl Monks concerning the following question:
Dear Master Monks,
I currently use:
use POSIX qw(strftime); my $todays_date = strftime '%d.%m.%y', localtime;
Is there a better (shorter) way?
Thanks,
Gavin.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Best way to get DD.MM.YY
by ikegami (Patriarch) on Dec 12, 2005 at 19:20 UTC | |
|
Re: Best way to get DD.MM.YY
by shiza (Hermit) on Dec 12, 2005 at 19:07 UTC | |
|
Re: Best way to get DD.MM.YY
by ambrus (Abbot) on Dec 12, 2005 at 19:52 UTC | |
|
Re: Best way to get DD.MM.YY
by BigLug (Chaplain) on Dec 12, 2005 at 23:18 UTC | |
by samtregar (Abbot) on Dec 13, 2005 at 00:16 UTC | |
by BigLug (Chaplain) on Dec 13, 2005 at 00:51 UTC | |
|
Re: Best way to get DD.MM.YY
by Celada (Monk) on Dec 12, 2005 at 20:39 UTC |