DateAndTime Properties

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The DateAndTime type exposes the following members.

Properties

  NameDescription
Public propertyAction
Specifies the action to perform. Default is Get.
Public propertyBoolResult
The output boolean result.
Public propertyEnd
The end time to use for GetElapsed. Default is DateTime.Now
Public propertyFormat
Format to apply to the Result. For GetTime, Format can be any valid DateTime format. For GetElapsed, Format can be Milliseconds, Seconds, Minutes, Hours, Days or Total. Total returns dd:hh:mm:ss
Public propertyResult
The output Result
Public propertyStart
The start time to use
Public propertyUseUtc
Set to true to use UTC Date / Time for the Action. Default is false.
Public propertyValue
The Value to use in calculations

See Also