get-indonesia-time
v1.0.4
Published
This module is very useful, if your application stores Indonesian time and your application is deployed on a server with a different time zone.
Downloads
1
Readme
This module is very useful, if your application stores Indonesian time and your application is deployed on a server with a different time zone.
Installation
Yarn Package
yarn add get-indonesia-time
or NPM Package
npm install get-indonesia-time
Usage
CommonJS
const GetIndonesiaTime = require("get-indonesia-time").default;
console.log(GetIndonesiaTime());
ES6
import GetIndonesiaTime from "get-indonesia-time";
console.log(GetIndonesiaTime());
OUTPUT MODELS
interface IGetIndonesiaTime {
timestamp: number;
year: number;
month: number;
date: number;
day: number;
hours: number;
minutes: number;
seconds: number;
milliseconds: number;
}