>>> Tim Wolak <[EMAIL PROTECTED]> 06/01/2005 3:59:26 pm >>> >Hello all,
>I am in need of a quick way to get the current date in the YYYYMMDD >format. This is something I would like to understand better on how to >get the date with perl. Any suggestions would be most welcome. As per the perlcheat page: "just use POSIX::strftime!" # Begin use POSIX qw(strftime); my $date = strftime("%Y%m%d", localtime()); # End There's possibly something in Date::Calc as well. But this is the quickest way I know, especially if you're familiar with the date command in *nix. Hope this helps, ************DISCLAIMER************* This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that using, disclosing, copying or distributing the contents of this information is strictly prohibited. ************DISCLAIMER************* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>