Skip to content

Instantly share code, notes, and snippets.

@thewarpaint
Last active January 11, 2018 16:01
Show Gist options
  • Save thewarpaint/eadbcb39da8206a8a52c to your computer and use it in GitHub Desktop.
Save thewarpaint/eadbcb39da8206a8a52c to your computer and use it in GitHub Desktop.
`Highcharts.dateFormat` reference

Highcharts.dateFormat reference

  • %a: Short weekday, like ‘Mon’
  • %A: Long weekday, like ‘Monday’
  • %d: Two digit day of the month, 01 to 31
  • %e: Day of the month, 1 through 31
  • %b: Short month, like ‘Jan’
  • %B: Long month, like ‘January’
  • %m: Two digit month number, 01 through 12
  • %y: Two digits year, like 09 for 2009
  • %Y: Four digits year, like 2009
  • %H: Two digits hours in 24h format, 00 through 23
  • %I: Two digits hours in 12h format, 00 through 11
  • %l (Lower case L): Hours in 12h format, 1 through 11
  • %M: Two digits minutes, 00 through 59
  • %p: Upper case AM or PM
  • %P: Lower case AM or PM
  • %S: Two digits seconds, 00 through 59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment