Transformation of the date
(the date must be anno domini)
Input date:
Result of transformation
number of decimal digits