in reply to Re: How do I find today's date?
in thread How do I find today's date?

For formatted date/time strings I prefer POSIX::strftime.

use POSIX 'strftime'; print 'The current date is '; print strftime('%Y-%m-%d', localtime), "\n";
--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>