Parse Time using std.date

Mandeep Singh Brar mandeep at brars.co.in
Wed Jan 12 07:29:39 PST 2011


Hi,

Is there a way to parse a Time string like 15:45 to a Date structure.
Parse method in std.date returns it as invalid. As a hack it works by
prepending it with something like 1-1-1970. But is there a cleaner
way to it.

Thanks
Mandeep


More information about the Digitalmars-d-learn mailing list