I have to pre-validate in Javascript a string that will be a DateTime in c#. The DateTime parse uses InvariantCulture.
Does anyone know the DateTime formats defined for InvariantCulture?
Compiling information from here: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings
MM/dd/yyyy
dddd, dd MMMM yyyy
dddd, dd MMMM yyyy HH:mm
dddd, dd MMMM yyyy HH:mm:ss
MM/dd/yyyy HH:mm
MM/dd/yyyy HH:mm:ss
MMMM dd
yyyy-MM-ddTHH:mm:ss.fffffffK
ddd, dd MMM yyyy HH:mm:ss GMT
yyyy-MM-ddTHH:mm:ss
HH:mm
HH:mm:ss
yyyy-MM-dd HH:mm:ssZ
dddd, dd MMMM yyyy HH:mm:ss
yyyy MMMM