use $DATE_BIN instead of date