daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Mar 19th, 2019 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [deploy@prod-ca-api install-scripts]$ timedatectl
  2. Local time: Tue 2019-03-19 15:34:21 IST
  3. Universal time: Tue 2019-03-19 10:04:21 UTC
  4. RTC time: Tue 2019-03-19 10:04:21
  5. Time zone: Asia/Kolkata (IST, +0530)
  6. NTP enabled: no
  7. NTP synchronized: yes
  8. RTC in local TZ: no
  9. DST active: n/a
  10. [deploy@prod-ca-api install-scripts]$
  11.      
  12. [deploy@prod-ca-api install-scripts]$ date
  13. Tue Mar 19 15:36:57 IST 2019
  14. [deploy@prod-ca-api install-scripts]$ node
  15. > let a = new Date()
  16. undefined
  17. > a.setHours(0,0,0,0)
  18. 1552933800000
  19. > a
  20. 2019-03-18T18:30:00.000Z
  21. > a = new Date('1700-01-01')
  22. 1700-01-01T00:00:00.000Z
  23. > a.setHours(0,0,0,0)
  24. -8520357208000
  25. > a
  26. 1699-12-31T18:06:32.000Z
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top