configures datetime format