Custom date formats

computertutor

New Member
Joined
Nov 19, 2003
Messages
2
Is it possible to create a custom date format in Access to display only the month and date i.e. mm/dd on a report or form?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Sure. Just use the Format function. Say your date field is named fldDate. In the Control Source property of the control you want the date in (i.e., a TextBox), put:
  • =Format([fldDate],"mm/dd")
Hope this helps,

Russell
 
Upvote 0
The format function is fine for a report where you just want to see the date but in a form it will prevent data entry. If you use the Format field on the properties sheet for the control then you can either select a preset format from the list or just type in the custom format that you want to use.

HTh

Peter
 
Upvote 0

Forum statistics

Threads
1,221,579
Messages
6,160,616
Members
451,658
Latest member
NghiVmexgdhh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top