Solved How to update the century in a date field?

rosef

New member
Local time
Today, 03:45
Joined
Jan 18, 2021
Messages
9
I am doing some data clean-up on a birthdate field. I have over 5000 records that need the 20XX changed to 19XX of the date field. Is there away that I can update just the 20 to 19? If so, how?
 
How about subtracting 100 years from it? Just a thought...
 
1611082617227.png


Edit I was a moment too slow.

Yep - either what dbGuy said, or subtract 1 year from it. :)
 
You could use DateAdd("yyyy",-100,[YourDateField])


Edit - too slow....
 

Users who are viewing this thread

Back
Top Bottom