nth_day function

Compute Reference Dates