# Can we change the time format to 24 hrs? The time of each message in the group chat is displayed like “12:30 AM” (Need in 24 hrs time like “13:30”)

**URL:** <https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851>\
**Category:** iOS\
**Created:** [July 14, 2023, 9:11am UTC](https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851 "2023-07-14T09:11:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samkit\_Shah](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/samkit_shah/32/4253_2.png) [@Samkit\_Shah](https://community.sendbird.com/u/Samkit_Shah)\
**Post date:** [July 14, 2023, 9:11am UTC](https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851/1 "2023-07-14T09:11:46Z")

</div>

## **[Problem/Question]** // Detailed description of issue. Can we change the time format to 24 hrs? The time of each message in the group chat is displayed like “12:30 AM” (Need in 24 hrs time like “13:30”)

// If problem, please fill out the below. If question, please delete.  
**[UIKit Version]**  
// What version of the SDK are you using?

**[Reproduction Steps]**  
// Please provide reproduction steps and, if possible, code snippets.

**[Frequency]**  
// How frequently is this issue occurring?

**[Current impact]**  
// How is this currently impacting your implementation?

---

<div class="post-metadata">

**Author:** ![uday.bhaskar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/uday.bhaskar/32/3966_2.png) [@uday.bhaskar](https://community.sendbird.com/u/uday.bhaskar)\
**Post date:** [July 14, 2023, 9:36am UTC](https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851/3 "2023-07-14T09:36:17Z")

</div>

Hello @Samkit_Shah,

Do you want to change the time format to 24 hrs only for the message view or for the entire application?

---

<div class="post-metadata">

**Author:** ![Samkit\_Shah](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/samkit_shah/32/4253_2.png) [@Samkit\_Shah](https://community.sendbird.com/u/Samkit_Shah)\
**Post date:** [July 14, 2023, 10:57am UTC](https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851/4 "2023-07-14T10:57:42Z")

</div>

Only for message view

---

<div class="post-metadata">

**Author:** ![uday.bhaskar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/uday.bhaskar/32/3966_2.png) [@uday.bhaskar](https://community.sendbird.com/u/uday.bhaskar)\
**Post date:** [July 14, 2023, 11:29am UTC](https://community.sendbird.com/t/can-we-change-the-time-format-to-24-hrs-the-time-of-each-message-in-the-group-chat-is-displayed-like-12-30-am-need-in-24-hrs-time-like-13-30/7851/5 "2023-07-14T11:29:50Z")

</div>

Please add the below code in the AppDelegate file

`SBUDateFormatSet.Message.sentTimeFormat = "HH:mm"`

Let me know if you face any issues.
