Navigation
Synopsis Split an existing datetime into a tuple with the date and the time.
Function tuple[datetime date, datetime time] splitDateTime(datetime dt)
Usage import DateTime;
Examples
rascal>import DateTime;
ok
rascal>N = now();
datetime: $2014-10-28T10:39:42.570+00:00$
rascal>splitDateTime(N);
tuple[datetime date,datetime time]: <2014-10-28,$T10:39:42.570+00:00$>
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 ask.rascal-mpl.org.