@containertechnology/gx
Version:
gx returns gm, ge, or gn for respective parts of day, based on a provided date and timezone.
25 lines (15 loc) • 626 B
Markdown

[](https://discord.gg/JqM8hm88st)
Seamlessly integrate a *saying hi in
Complete [API Documentation](https://container-technology.github.io/gx/)
`npm install @containertechnology/gx --save` or `yarn add @containertechnology/gx`
```
import gx from '@containertechnology/gx';
const TIMEZONE = 'America/Vancouver';
const time = new Date();
const hi = gx(time, TIMEZONE);
console.log(hi);
```