in reply to Creating a string for a date stamp

Look at POSIX::strftime. You provide a format string (similar to sprintf) which would look very similar to the format strings you gave as examples :-)

Russ
Brainbench 'Most Valuable Professional' for Perl

  • Comment on Re: Creating a date stamp (Russ: POSIX::strftime)