Skip to main content

PART_OF_DAY

Return a description of the part of the day (morning, afternoon, evening)

Example Usage

PART_OF_DAY(08:05) -> 'morning'
PART_OF_DAY(13:30) -> 'afternoon'
PART_OF_DAY(19:00) -> 'evening'

Overview

Function signature
PART_OF_DAY(time)

Category
Date

Return data type
string

Arguments

NameDataTypeList Options                          Description
timetimeThe time to evaluate