Change Date and time to String in db