You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 635B

4 years ago
123456789101112131415161718192021
  1. ```
  2. utcnow 1.0.0
  3. Jonathan Strong <jonathan.strong@gmail.com>
  4. current time in utc with non-cryptic interface.
  5. for your own safety and well-being, local time functionality is not provided.
  6. default output format is rfc3339 with trailing 'Z', e.g. '1999-12-31T23:59:59.999999999Z'
  7. USAGE:
  8. utcnow [FLAGS]
  9. FLAGS:
  10. -h, --help help
  11. -r, --rfc2822 display in rfc2822 format
  12. -s, --seconds display unix timestamp in seconds, instead of default nanoseconds
  13. -t, --timespec display as <sec>,<nsec>
  14. -u, --unix display elapsed nanoseconds since 1970-01-01T00:00:00Z
  15. -V, --version version
  16. ```