stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 983
|
Re: Save a txt file as a timestamp name
Alternatively:
dim filename as string
filename = format(now,"yyyymmddhhnnss") & ".txt"
|
Note that if you are creating files quickly (ie. under a second), then you should also use the GetTickCount() api function or an internal counter.
Regards
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|