I want the default password to use their date of birth in the firmat 12 25 2000
Try using the expression:
Person.DateOfBirth.GetValueOrDefault().ToString(“MM dd yyyy”)
or
Person.DateOfBirth.GetValueOrDefault().ToString(“MMddyyyy”)
This follows standard C# DateTime formatting, see this article for more info: