atm-timestamp
v1.1.1
Published
ATM Timestamp Service
Downloads
18
Readme
atm-timestamp
A timestamp service used by Electron ATM and ATM State Navigator applications. The get() method of the service returns current time string in HH:MM:ss.mmm format (e.g. '14:52:50.007'), which may be used in traces, logs etc.
Install
npm install atm-timestamp
To Use:
> var Timestamp = require('atm-timestamp');
> var t = new Timestamp();
> t.get()
'14:52:01.548'
> t.get()
'14:52:50.007'