Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [deploy@prod-ca-api install-scripts]$ timedatectl
- Local time: Tue 2019-03-19 15:34:21 IST
- Universal time: Tue 2019-03-19 10:04:21 UTC
- RTC time: Tue 2019-03-19 10:04:21
- Time zone: Asia/Kolkata (IST, +0530)
- NTP enabled: no
- NTP synchronized: yes
- RTC in local TZ: no
- DST active: n/a
- [deploy@prod-ca-api install-scripts]$
- [deploy@prod-ca-api install-scripts]$ date
- Tue Mar 19 15:36:57 IST 2019
- [deploy@prod-ca-api install-scripts]$ node
- > let a = new Date()
- undefined
- > a.setHours(0,0,0,0)
- 1552933800000
- > a
- 2019-03-18T18:30:00.000Z
- > a = new Date('1700-01-01')
- 1700-01-01T00:00:00.000Z
- > a.setHours(0,0,0,0)
- -8520357208000
- > a
- 1699-12-31T18:06:32.000Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement