yday field values starts from 0 and mday starts from 1, contrary to what was actually written. Closes #18534.