Process date variable
date_process(x)
x
A object of class Date
The converted input value into Date or character