How extract date part of date/time ?

  • Thread starter Thread starter David
  • Start date Start date
D

David

How extract date part of date/time to just show the date
on a form?
 
If you only want to show the date only in a Control, set the Format of the
Control to "Short Date" or "mm/dd/yyyy" or similar.

If actually want to extract the date value without the time component, use
the DateValue() function. Check Access VB Help on this function.
 

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