Table of Contents

Class Now

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

Represents the NOW date/time function that returns the current date and time.

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

Remarks

The NOW function returns the current date and time as a timestamp. The precision and timezone behavior varies by database system (some return UTC, others return local server time). This is useful for timestamping records, calculating elapsed time, or filtering data based on the current moment.

Constructors

Now(IEnumerable<IElement>)

Initializes a new instance of NOW with multiple elements.

Now(IElement)

Initializes a new instance of NOW with an element.