datetime/time quickie
vurentjie
vurentjie at gmail.com
Sun Jul 22 13:50:14 PDT 2012
hi,
i can't seem to find how to do this in the docs ... simple example
i have 2 times 9:00,12:00 for which i need to get the interval
between them in minutes, ie 180
i though I could use Interval!TimeOfDay("9:00:00","12:00:00") and
convert this to minutes from here but this does not seem to be
correct.
i have looked at Duration!(Tp)().total!"minutes"();
but i cant seem to figure out how to use Interval/Duration
together (without rolling out some kind of hacked intermediate
method)
any quick advice
More information about the Digitalmars-d-learn
mailing list