1.0.4 • Published 3 years ago

get-indonesia-time v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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;
}
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago