Taking date into account for prompt