in reply to Re^2: changing time date format.
in thread changing time date format.
What operating system are you using? Support for the %P format code isn't universal. Take a look at the documentation for "strftime" on your system.
You could try using %p instead. Or, alternatively, just use the 24 hour clock (%k in place of %l in the output format string) - that's far more readable in my opinion.
Personally, I'd use the DateTime modules to solve this problem.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: changing time date format.
by pglinx (Acolyte) on Aug 22, 2006 at 13:48 UTC | |
by davorg (Chancellor) on Aug 22, 2006 at 13:56 UTC |