Not sure what you're asking. DateTime fields are already stored as numbers. The "8/20/1991" form is only a formatting thing. If you want to see the number in a query then
First of all, that's an invalid statement. An update statement has the form
Code:
UPDATE myTable SET fld = Value
You're missing the " = Value" part.
Second ... as I said ... Access wants to present DateTime fields in some DateTime format such as "8/20/1991". Those values are already in the database as numbers. You are attempting to change the formatting by changing the stored value. You need to make the change where the data is presented ... not how it is stored. For example
Code:
Select cDbl(DateTimeField) As DateNumber
From myTable
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.