Class Today
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the TODAY date function that returns the current date without the time component.
public class Today : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
Today
- Implements
Remarks
The TODAY function returns the current date with the time set to midnight (00:00:00). This is useful for date comparisons, filtering records from today, or calculating date-only differences. Unlike NOW, TODAY excludes the time component, making it ideal for day-level granularity operations.
Constructors
- Today(IEnumerable<IElement>)
Initializes a new instance of TODAY with multiple elements.
- Today(IElement)
Initializes a new instance of TODAY with an element.