https://github.com/codhek/tellmethe
A simple and easy to use javascript library to get all the necessary time related information.
https://github.com/codhek/tellmethe
moment npm-package time
Last synced: about 2 months ago
JSON representation
A simple and easy to use javascript library to get all the necessary time related information.
- Host: GitHub
- URL: https://github.com/codhek/tellmethe
- Owner: CodHeK
- Created: 2018-11-09T18:38:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T18:58:29.000Z (over 7 years ago)
- Last Synced: 2025-01-19T17:12:41.756Z (about 1 year ago)
- Topics: moment, npm-package, time
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tellmethe

##### A simple and easy to use javascript library to get all the necessary time related information.
#
```
npm i tellmethe
```
## How to use ?
#
```
const tellmethe = require('tellmethe');
tellmethe.year();
//2018
tellmethe.month();
//11
tellmethe.Month();
//Nov
tellmethe.day();
//10
tellmethe.Day();
//Sat
tellmethe.time_24hr();
//00:14:22
tellmethe.time_12hr();
//11:29:02 pm
tellmethe.timezone();
//GMT+530 India Standard time
tellmethe.country();
//India
tellmethe.everything();
//Fri Nov 09 2018 23:29:02 GMT+0530 (India Standard Time)
```