implemented Log date formatting