xrtlibrary-timestamp
v1.0.1
Published
Timestamp module of XRT library.
Downloads
3
Readme
Read Me
Introduction
This package is a timestamp generator (a part of XRT library).
Installation
To install this package, type following command in your terminal:
npm install xrtlibrary-timestamp --save
And then, you can import this package in your NodeJS environment with following "require" statement.
var XRTLibTimestamp = require("xrtlibrary-timestamp");
API (Usage)
+------------------------+--------------------------------------------------------------+ | Method | Description | +------------------------+--------------------------------------------------------------+ | GetTimestamp() | Get current timestamp (returns an integer, in milliseconds). | +------------------------+--------------------------------------------------------------+ | GetAccurateTimestamp() | Get current accurate timestamp (returns in float, in millis- | | | econds). | +------------------------+--------------------------------------------------------------+