in reply to Subroutine for returning a date, similar to sprintf

Very nice but something that would be nice to have their is the date with month as name because US is different then Europe. For example : 29-05-2001 - Europe 05-29-2001 - US 29-May-2001 - Neutral Pieter

  • Comment on Re: Subroutine for returning a date, similar to sprintf

Replies are listed 'Best First'.
Re: Re: Subroutine for returning a date, similar to sprintf
by Anonymous Monk on May 31, 2001 at 19:42 UTC
    With an appropriate locale setting (via LC_ALL or some such) you might be able to alter time formatting with:
    use locale;
    Does that work for you?