Class: Timestamp

WebPDA_CS. Timestamp

new Timestamp(sec, nanoSec)

Timestamp that represents the time stamp of the pv value.

Parameters:
Name Type Description
sec number

seconds since Unix Epoch (1 January 1970 00:00:00 UTC) .

nanoSec number

nano second part.

Source:

Members

nanoSec :number

Nanoseconds part.

Type:
  • number
Source:

sec :number

Seconds part.

Type:
  • number
Source:

Methods

getDate() → {Date}

Get Date representation of the timestamp.

Source:
Returns:

the date object.

Type
Date