resolving date time colon error