Within a user manual, I need to convey the maximum time period allowed as "365 days 23 hours 59 minutes 59 seconds" - are commas expected between each component? Is the word "and" expected before the last component regardless of the time period name?
I would use commas between each component, and use "and" only if the last component is seconds. I learned way back in intermediate school that "and" is only used before fractions (so 10,247 is said "ten thousand, two hundred forty-seven" but 10 7/8 is said "ten and seven-eighths"). I would call seconds the smallest "lay person" time interval — if you're getting into fractions of a second, you've moved beyond regular timekeeping and are now talking science, so it would be formatted differently.
So using your example:
BUT if your time were shorter, it would be written: