How can I set the correct time to show up when the form is submitted?.