It is grammatically correct, but illogical. "Any time during the morning" means "between midnight and noon" but "until 4pm" means, well, "until 4pm." 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.