For formatted date/time strings I prefer POSIX::strftime.
--use POSIX 'strftime'; print 'The current date is '; print strftime('%Y-%m-%d', localtime), "\n";
Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Answer: How do I find today's date?
by davorg
in thread How do I find today's date?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |