Calendar formatter

Input:

Output: