3 ms·
Length can to 2 or 4, month can be 1 or 2, day can be 1 or 2. Using separators makes that easily parseable by both humans and machines, whereas using 0s is just
by t-3 3y ago
Length can to 2 or 4, month can be 1 or 2, day can be 1 or 2. Using separators makes that easily parseable by both humans and machines, whereas using 0s is just redundant when used on fixed-width strings or potentially confusing when used on variable-width strings.
- Kamq 3y agoThe comment I replied to was about the slashes in 94/09/30 vs iso 8601. Zero padding was already present in both of these