The source control on the seond text box is as follows

=Format(Currdate,"YYYY-MM-DD")

as per the example DB i linked