Navigation
Synopsis Print an input date using a specific locale and format string.
Function
  1. str printDateInLocale(datetime inputDate, str formatString, str locale)
  2. str printDateInLocale(datetime inputDate, str locale)
Usage import DateTime;
Examples
rascal>import DateTime;
ok
rascal>printDateInLocale(now(), "Europe/Netherlands");
str: "2014-02-14"
rascal>printDateInLocale(now(), "French");
str: "2014-02-14"
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.