Returns the date as per given pivotal reference and as of given date.

Pivotal reference.

Date as of.

A new date.