Fixed DateTime to string convertion