How to change submission date and time to local?