I've been looking for a function or library to parse a date in a
custom format (for validation) similar to C#'s [1]
TryParseExactbut I couldn't find any. so far I only found
fromISOExtString(), and fromSimpleString() which doesn't allow me
to set a custom string format. I've looked up at
https://code.dlang.org/search?q=date
https://code.dlang.org/search?q=date+parsing
but to my surpise I didn't find either. Am I using wrong keywords
or there's no really such method implemented yet?
[1]:
https://docs.microsoft.com/en-us/dotnet/api/system.datetime.tryparseexact?redirectedfrom=MSDN&view=netframework-4.7.2#System_DateTime_TryParseExact_System_String_System_String_System_IFormatProvider_System_Globalization_DateTimeStyles_System_DateTime__