“Good day” is a proper greeting and is correct English. You may use it when referring to the day in general, regardless of the current time. It’s like saying “good morning” or “good evening” without worrying about the current time. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.