Page 1 of 1

date and time in YYYYMMDDHHMISS format

Posted: Tue Nov 13, 2007 9:24 pm
by dsdev_123
hi

i have a job from dataset to seq file.i need to produce the file as filename.#YYYYMMDDHHMISS#.dat. i have defined one job parameter which defualts to YYYYMMDDHHMISS. i am running this job in the sequencer and i need to pass a function which gives the aboveformat to the job parameter i have defined.Is there any DS sepecific function which gives present date and time in that specific format.

Thankyou

Posted: Tue Nov 13, 2007 10:56 pm
by ray.wurlod
CurrentTimestamp() with a "%yyyy%mm%dd%hh%nn%ss" format string should do it.