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