How can I validate dates in varying format and replace invalid dates with default values in a file. (ie. knowing that the format is YYYYMMDD and the 3rd column is supposed to be a date, output the date only if it is valid otherwise output a default date)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.