Convert days into hours.
Multiply the number of days by 24.
Hours: Days × 24
Does this account for daylight saving changes?
No. It assumes every day has exactly 24 hours, which is true for the calendar, but not true for the specific days when clocks are changed.