List,
Please accept my sicerest apologies for not explaining myself correctly in
my last post (RE: SORTING BY DATE).
What I really need to be able to do is have my script display the date as
YEAR (xxxx) MONTH (xx) DAY (xx)
For egsamle todays date would be displayed as 20010807
At the moment I can display the date as 7/8/2001 but I really need the zeros
in there and displayed as year first. The code for this is as follows...
my $lt = localtime;
my $date_added = $lt->mday . '/' . ($lt->mon + 1) . '/' . ($lt->year +
1900);
Any ideas?
Kind Regards,
Daniel Falkenberg
==============================
VINTEK CONSULTING PTY LTD
(ACN 088 825 209)
Email: [EMAIL PROTECTED]
WWW: http://www.vintek.net
Tel: (08) 8523 5035
Fax: (08) 8523 2104
Snail: P.O. Box 312
Gawler SA 5118
==============================
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]