1.0.1 • Published 7 years ago

xrtlibrary-timestamp v1.0.1

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
7 years ago

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). | +------------------------+--------------------------------------------------------------+