Skip to content

communicator-datetime 1.30.13

Install from the command line:
Learn more about npm packages
$ npm install @dbos-inc/communicator-datetime@1.30.13
Install via package.json:
"@dbos-inc/communicator-datetime": "1.30.13"

About this version

DBOS Date/Time Step

This is a DBOS step for getting the current date / time.

The reason that date retrieval should be wrapped in a @Step is so that replayed workflows get the recorded value and therefore have the same behavior as the original.

Available Functions

getCurrentDate()

This function returns a Date object representing the current clock time.

getCurrentTime()

This function returns a number of milliseconds since January 1, 1970, UTC, in the same manner as new Date().getTime().

Next Steps

Details


Assets

  • communicator-datetime-1.30.13.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0