Build a SysTime from a string

Jack Stouffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 6 09:48:06 PDT 2016


On Wednesday, 6 July 2016 at 15:38:00 UTC, Andrea Fontana wrote:
> On Wednesday, 6 July 2016 at 14:55:51 UTC, Jonathan M Davis 
> wrote:
>> auto st = 
>> SysTime.fromISOExtString("2011-03-02T15:30:00+01:00");
>
> That's perfect. I didn't notice that static method. My fault!

Also, if you need to parse other formats: 
https://github.com/JackStouffer/date-parser#simple-example


More information about the Digitalmars-d-learn mailing list