I have the following file party.txt that contains something like the following:
party.txt
Hello Jacky Hello Peter Bye Johnson Hello Willy Bye Johnny Hello Mar
gawk (and recent versions of mawk) have a built-in time/date function, so there is no need to use external tools there.
gawk '/Hello/{print NR " - " $0 " - " strftime("%Y-%m-%d")}' party.txt