Does anybody know how to clean up the system time :

Tue May  1 10:18:32 BST 2001

or select only part of it to give a more managable date format that can be
used to stamp an output file from a program :

$a = system ("date");  # OR A TRUNCATED VERSION????

# OR CLEAN IT UP HERE ???

$b = "filename.$a.txt"; # NOT SO SURE ABOUT THIS EITHER???

open (OUT2,">$b");

Thanks a lot!
_____________________________________________

Mark Martin
Computer Centre
National University of Ireland Maynooth

Tel: (01)708 4716/3830
Fax: (01)628 6249

Reply via email to