Updated the datetime format
Moved datetime format to Options class