3 ms·
I don't think anybody involved in date/time programming disagrees, but I'd rather have a single standard for both than having to use two standards.
by l0b0 3y ago
I don't think anybody involved in date/time programming disagrees, but I'd rather have a single standard for both than having to use two standards.
- layer8 3y agoIt’s a reason why generic durations aren’t often used. Usually you restrict it to be a simple count of seconds or days or whatever is appropriate for the use case, and then you don’t need any special notation, because it’s just a numerical quantity that you store/transmit like any other numerical quantity, its unit being implicit in the schema.
- l0b0 3y agoThat only works in simple cases, and has been the cause of countless bugs. A duration of 1 day is semantically different from 606024 seconds.