SysTime.add!"days" missing
Spacen Jasset
spacenjasset at mailrazer.com
Mon Mar 17 04:11:24 PDT 2014
I would like to subtract 60 days from a SysTime, but find that
SysTime.add!"days" is not available, unlike Systime.roll!"days"
which is available.
main.d(18): Error: template instance add!("days") add!("days")
does not match te
mplate declaration add(string units)(long value, AllowDayOverflow
allowOverflow
= AllowDayOverflow.yes) if (units == "years" || units == "months")
Why is "days" add missing? How might I get round this?
Regards,
Spacen.
More information about the Digitalmars-d-learn
mailing list