dateToFormat func desc correct