Table of Contents

Class Day

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Represents the DAY date extraction function that returns the day of the month component of a date.

public class Day : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
Day
Implements

Remarks

The DAY function extracts the day of the month as an integer (1-31) from a date or datetime value. For example, DAY('2024-03-15') returns 15. This is useful for filtering by specific days of the month, day-based analysis, or extracting the day component for calculations.

Constructors

Day(IEnumerable<IElement>)

Initializes a new instance of DAY for multiple elements.

Day(IElement)

Initializes a new instance of DAY for a single element.