Date formatter

Source code

Example output