----- Original Message -----
From: “Kurt Euler” keuler@portal.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Tuesday, July 09, 2002 9:50 AM
Subject: Newbie question on returning system date and time…
Ruby experts:
How does one return system date and time in Ruby? (I’m having trouble
finding out how to do this through online references.)
My main goal is to use current system date and time for naming log files.
So, for time, inclusion of seconds would be desired.
I suppose I need to “require” the Date, Time, and perhaps Parsedate
modules, but I’m not sure where to go from here.
–
Dossy Shiobara mail: dossy@panoptic.com
Panoptic Computer Network web: http://www.panoptic.com/
“He realized the fastest way to change is to laugh at your own
folly – then you can let go and quickly move on.” (p. 70)