AnsweredAssumed Answered

Timestamp filename method?

Question asked by VRFuser on May 7, 1998
Maybe this has been addressed before.  Is there
any easy way to generate PC filenames based on
on the current date and time?  What I would like
is to have a base filename filter that then has
the date and time of the test appended to it.

An example filename I would like is:

Testd_05_08_98_14_20_05

ie;
filter="Testd" (set by the user)
Testd_month_day_year_HH_MM_SS

The month, day, and year are easy, but there
doesn't seem an easy way to get the current
time in the string format needed for a filename.

Any suggestions?


Drew Amery

damer@mail.mse.ufl.edu
University of Florida
Department of Materials Science
Gainesville, FL  32601


Outcomes