Updated datetime to string