Great info. However, because of the usefulness of such a date/time pattern function which always delivers a chronologically sound date/time stamp (with descending unit values each with leading zeros to force two characters), I think that two simpler specialized functions, such as “isodatepattern(datevariable)” and “isosuperdatetimepattern(superdatevariable)” would be extremely useful. No need to fuss with date/time patterns at all!
Furthermore, the default date input format “MM/DD/YY” in the data sheet should be “YYYY/MM/DD” which would sort correctly whether or not it was formatted as a date or a text data type. Just my opinion to make coding simpler. Thanks for the feedback.