How to change three numeric fields into a date using Access
If your data source is Access, It is easy to take three number fields in a table and make them into a nicely formatted date by using an expression in a query (a saved query can be used as a data source).
Datestr: Format([mm] & "/" & [dd] & "/" & [yy])
Where [mm], [dd] and [yy] can be any numbers that make sense. Here is sample output:
Query1
| mm | dd | yy | Datestr |
|---|---|---|---|
| 1 | 15 | 0 | 1/15/2000 |
| 8 | 10 | 11 | 8/10/2011 |
| 10 | 5 | 9 | 10/5/2009 |
Revised: 2011-10-21
Copied!