From: Nick Hilliard (nick at domain iol.ie)
Date: Wed 03 May 2000 - 14:48:33 IST
: This should help a little .....
: sub curTime sets the global $dateStr !!
:
: sub curTime {
: at domain days = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
: [...]
Urk. Why not use:
use POSIX;
at domain structtm = localtime(time);
print POSIX::strftime ("[blah, blah, blah]", at domain structtm);
where the arguments to strftime() contain how you want to format the date.
Nick
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:00 GMT