As Juerd suggests, I think strftime is the best way to go simply for flexibility, but another way to do it is ...
printf "%s %d, %d\n", ( split " " => scalar localtime )[1,2,4];
Or $date = sprintf ... if you need it as a var.
--k.
In reply to Re: Date manipulation
by Kanji
in thread Date manipulation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |