PDA

View Full Version : How do I use a Date/Time Function


nancy.bufkin
07-12-2004, 10:21 AM
I want to create a directory based on the date in the format of YYYYMMDD. How do I call the vbld_FormatDate() function from the Run Program Step, where I am issuing the mkdir command.

kevina
07-12-2004, 11:33 AM
%DOSCMD% mkdir "c:\folderroot [vbld_FormatDate()]"

Simply replace c:\folderroot with the path and first part of the foldername you want to create. Note, this value can contain macro values for additional flexibility.