Format date

  • Thread starter Richard Liddiment
  • Start date
R

Richard Liddiment

I am using FormatDateTime( mydbDate, vbShortDate) but it is NOT returning
the date formatted according to my regional settings. My regional settings
are "dd/MM/yyyy" but my date is returned as "d/m/yyyy".

Where is it getting the format from so that I can correct it or is there a
better way to format the date, the way I want it?

I have tried the VB format function but get
Type mismatch: 'Format'

Richard
 

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

Members online

No members online now.

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top