Date Field

C

C

How do I retrieve certain elements from a date field?
E.g. I need 091703 from a date field input of 9/17/2003.
 
D

Douglas J. Steele

If the value's been stored in a Date field, use the Format function to
reformat it:

Format$(MyDate, "mmddyy")
 

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

Top