Date and time will now save in database