I can't remember why I did it this way, but on my PDF routine  I added a date and time stamp using: 
 
	 
 
(setq myfilename --filepatgh and filename-- )
(setq myfilename (strcat myfilename " [" (menucmd "M=$(edtime,$(getvar,date),DD-MO-YY)") " " (menucmd "M=$(edtime,$(getvar,date),HH-MM-SS)") "]" ))
	 
 
	Will it work using that and inserting the whole filepath and filename instead of suffixing the time and date?