4 ms·
Set hour is easier because it has an obvious result. The date doesn't change.
by perfmode 10y ago
Set hour is easier because it has an obvious result. The date doesn't change.
- saghm 10y agoSo setting the day of the week would set to that day in the same week the date occurred; I don't think that's any weirder than calling `setMonth` to change the month on a date