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
In gawk only:
$ gawk '/Hello/ {print $0, strftime("%Y-%m-%d");}' party.txt Hello Jacky 2019-09-17 Hello Peter 2019-09-17 Hello Willy 2019-09-17 Hello Mary 2019-09-17 Hello Wendy 2019-09-17