hourofdayThe hourofday function returns the integer representing the hour number of the given date.Syntax hourofday( Datetime )ArgumentsDatetime: A datetime.ReturnsThe hour number of the day (0–23).ExampleThis example returns 18:print hourofday( datetime(2025-11-30 18:54) ) Copy Run in Cribl Search PreviousPreviousNextNext