On Apr 16, James Kelty said:

>Can someone point me to the perldoc's that can help me get the localtime 
>equivalent of the shell command /bin/date +'%Y%m%d' ?

Either

  perldoc -f localtime

and roll your own, or read

  perldoc POSIX

and look for strftime().  It uses the same format strings as date, I
believe.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to