use the posix modules strftime() function-
man strftime for all the strftime formating options.use POSIX; my $date = strftime("%D %H:%M:%S %p", localtime(time));
--
Until you've lost your reputation, you never realize what a burden it was or what freedom really is. -Margaret Mitchell
In reply to Re: AM/PM in date and time format
by greenFox
in thread AM/PM in date and time format
by AcidHawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |