getFormats function

Functions to retrieve, set or remove formats used for parsing dates.