transform date from iOS to standart format