fixed echoDateBox snippet