Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Format of Date 1

Status
Not open for further replies.

srossbach

IS-IT--Management
Sep 12, 2000
50
US
I have a date field in my table that is set up to show month/date/year (11/30/01)- what I need to do is to take the month and year from that field and put it into another field that is month/year without any slashes or dashes - field must be 4 characters.

Any assistance would be appreciated.

Thanks and Happy Holidays to You!
 

Use the format function.

Format([date1],"mmyy") Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Thanks - that was simple enough!

Have a great day - you made mine easier!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top