modify datestring