Date Formula in a Query

V

Victor

In Excel, I can convert a field which contains a date with
a mm/dd/yyyy format into a mmm-yy format.
Example: Cell A1 Cell B2
Value in B2: 04/20/2004
Formula in A1: =text(B2,"MMM-YY")
Result in A1: Apr-04

How do I achive this same result in an access query? I
have a date field called "Sale Date" that contains dates
with a mm/dd/yyyy format. I would like to:
1) Take the values in the "Sale Date" field
2) Convert it into a MMM-YY format
3) Place that result in the "Sale Month" field.

Desired Result: Sale Month Sale Date
Apr-04 04/20/04

Thanks for the help!
 

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

Similar Threads

Date Format Code 3
convert date 1
Dlookup 7
Date range in header and date format 3
Date format and Header information 3
Date format in a report 2
Sort in Query 3
Month (MMM) from date (dd/mmm/yy) 1

Top