What you are trying to do is to set the "DOB" by default and change if required.
First i don't think you can pull date like that, how you are pulling.
Setting dates without users interaction is currently not possible. I would advice to redesign your form.
Check out this thread on setting default date How to default the time data type to the current time?