added date and time functions to contact form