fix(core): Use safeDateNow calls for new Date() reads
#21351
Merged
safeDateNow calls for new Date() reads
#21351