How can I change the date format in my form?