use converters in daycounter.cpp as well