Synopsis A duration of time, measured in individual years, months, etc.
data Duration = duration(int years, int months, int days, int hours, int minutes, int seconds, int milliseconds);
Usage import DateTime;
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit