Allows to change the serialization time of dates