CXX-150 Export Date_t and some auxilliary functions