ArgumentCountError thrown

date() expects at least 1 argument, 0 given