Conversion Now() >>> filename

  • Thread starter Thread starter vt7
  • Start date Start date
V

vt7

Hi,
I would like to convert the return value of funtion now() to string,
then exclude all ":" and " " from it and finally save the result of all
of this as a filename.txt.
I have no idea how to start,
would you be so kind as to help me?
 
Format(Now(), "yyyymmddhhnnss")

will give you the datetime String you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top