use POSIX "strftime"; $time = lc strftime("%I:%M%p %m/%d/%y", localtime($_[0]));
In reply to Re: How do I convert localtime to display 12 hr time instead of 24 hr time
by ysth
in thread How do I convert localtime to display 12 hr time instead of 24 hr time
by CG_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |