Ugly datetime formatting.