INtpTimeInfo interface

Returned from LiveShareHost.getNtpTime() to specify the global timestamp for the current Live Share session.

Properties

ntpTime

ISO 8601 formatted server time. For example: '2019-09-07T15:50-04:00'

ntpTimeInUTC

Server time expressed as the number of milliseconds since the ECMAScript epoch.

Property Details

ntpTime

ISO 8601 formatted server time. For example: '2019-09-07T15:50-04:00'

ntpTime: string

Property Value

string

ntpTimeInUTC

Server time expressed as the number of milliseconds since the ECMAScript epoch.

ntpTimeInUTC: number

Property Value

number