method CDateTime::toString