Timestamp
Features
- Save the current time into a costom viralbe
- Supports
moment.js time formats
Usage
The following example demonstrates the usage of Timestamp@1 in YAML Pipelines:
steps:
- task: Timestamp@1
displayName: Get $TimeStamp
inputs:
exportsToVariableName: 'Timestamp'
dateTimeFormat: 'yyyyMMDD'
| |