Fixed DateTime formatting issues