c++ port of easydate