Table of Contents

Class UtcNow

Namespace
Albatross.Expression.Prefix
Assembly
Albatross.Expression.dll

Prefix expression that returns the current Coordinated Universal Time (UTC). Takes no parameters and returns DateTime.UtcNow.

public class UtcNow : PrefixExpression, IPrefixExpression, IExpression, IToken
Inheritance
UtcNow
Implements
Inherited Members
Extension Methods

Constructors

UtcNow()

Initializes a new instance of the UtcNow class with name "UtcNow" and no parameters.

public UtcNow()

Methods

Run(List<object>)

Returns the current date and time in Coordinated Universal Time (UTC).

protected override object Run(List<object> operands)

Parameters

operands List<object>

Empty list (no operands required).

Returns

object

The current UTC DateTime value.