Navigation
Synopsis Parse an input datetime given as a string using the given format string.
Function datetime parseDateTime(str inputDateTime, str formatString)
Usage import DateTime;
Examples
rascal>import DateTime;
ok
rascal>parseDateTime("2011/12/23/11/19/54", "YYYY/MM/dd/HH/mm/ss");
datetime: $2010-12-26T11:19:54.000+01: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.