Changed format of syncDate to be more compatible with iOS