Class Today
- Namespace
- Albatross.Expression.Prefix
- Assembly
- Albatross.Expression.dll
Prefix expression that returns the current date at midnight (start of day). Takes no parameters and returns DateTime.Today.
public class Today : PrefixExpression, IPrefixExpression, IExpression, IToken
- Inheritance
-
Today
- Implements
- Inherited Members
- Extension Methods
Constructors
Today()
Initializes a new instance of the Today class with name "Today" and no parameters.
public Today()
Methods
Run(List<object>)
Returns the current date at midnight (00:00:00).
protected override object Run(List<object> operands)
Parameters
Returns
- object
The current date with time set to midnight.