“Have a nice day” is a grammatically correct and polite phrase that you can use in professional and casual settings. If you’re looking for a more formal option, try using “hope you have a pleasant day.” 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.