a utility to print out dates, for the C++ addin