Skip to content

Human Time

sliceofcode edited this page Oct 4, 2017 · 4 revisions

You specify times like this: 00mo00w00d00h00m00s for short, or like 5 seconds.

Internally, this is called "human time" as it is a human-friendly way to specify times.

  • mo: Month(s)
  • w: Week(s)
  • d: Day(s)
  • h: Hour(s)
  • m: Minute(s)
  • s: Second(s)

Examples

  • 2 minutes and 5 seconds: 2m5s
  • 5 hours, 1 minute, and 3 seconds: 5h1m3s
  • 2 months and 1 week: 2mo1w
  • 2 seconds: 2 seconds
  • 5 minutes and 1 second: 5 minutes and 1 second

Clone this wiki locally