Hi
I'm looking to get the base numerical representation of a date in Access 2010.
For example: Today's date (2011/07/04) should be 40728
In Access 97 it was possible to run Format(Format(MyDate)) and you had it.
But not in Access 2010. Running the double Format in Access 2010 does not do the same thing.
The reverse does however work in 2010: If you run Format(40728, "Short Date") it will return 2011/07/04, but I want to pass the date and get the number.
I'm looking to get the base numerical representation of a date in Access 2010.
For example: Today's date (2011/07/04) should be 40728
In Access 97 it was possible to run Format(Format(MyDate)) and you had it.
But not in Access 2010. Running the double Format in Access 2010 does not do the same thing.
The reverse does however work in 2010: If you run Format(40728, "Short Date") it will return 2011/07/04, but I want to pass the date and get the number.