Absolutely. In scalar context,
print scalar(localtime), "\n";
localtime returns a time string like:
Fri Feb 14 14:53:08 2003
I never actually realized it until you pointed it out. I always did it the hard way and constructed an array of month names.
Thanks coruscate++
Where do you want *them* to go today?In reply to Re: Re: Localtime
by thezip
in thread How to get 3-letter month abbreviations ?
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |