# Time format to 24 hours

**URL:** <https://meta.discourse.org/t/time-format-to-24-hours/56789>\
**Category:** Support\
**Created:** [February 2, 2017, 1:07pm UTC](https://meta.discourse.org/t/time-format-to-24-hours/56789 "2017-02-02T13:07:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![David\_Collantes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david_collantes/32/87919_2.png) [@David\_Collantes](https://meta.discourse.org/u/David_Collantes)\
**Post date:** [February 2, 2017, 1:38pm UTC](https://meta.discourse.org/t/time-format-to-24-hours/56789/2 "2017-02-02T13:38:49Z")

</div>

Answering my own question. It seems Discourse uses Moment.js format string. In the case of my request, it is simply a matter of changing `h:mma` and `hmm a` to `HH:mm`. More references on the [Moment.js format page](http://momentjs.com/docs/#/displaying/format/).

I hope I did not break things! 🙂

---

_[View the full topic](https://meta.discourse.org/t/time-format-to-24-hours/56789)._
