Snippet returns the date in a specified format.