Fixed --date parameter

--date couldn't be used at all, because it accessed the value given to --time