What can I use to parse a date string in a custom format?

Neia Neutuladh neia at ikeran.org
Tue Nov 27 19:33:37 UTC 2018


On Tue, 27 Nov 2018 18:22:17 +0000, PacMan wrote:
> 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.

http://code.dlang.org/packages/datefmt didn't do it for you?

...that readme is pretty terrible, granted.


More information about the Digitalmars-d-learn mailing list