Removed comments and fixed datetime formatting