A pattern could be for instance
dd.MM.yyyy
and could return a string like '18.03.1993'. All
pattern letters of java.text.SimpleDateFormat
can be used.
Note: Use when ever possible specialized functions like year
. These benefit from a
specialized implementation.