# 24 Hour datetime with leading 0's on Min and Sec. Is there a better way than how i am doing?

**URL:** <https://forums.unrealengine.com/t/24-hour-datetime-with-leading-0s-on-min-and-sec-is-there-a-better-way-than-how-i-am-doing/783361>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [March 4, 2023, 2:05am UTC](https://forums.unrealengine.com/t/24-hour-datetime-with-leading-0s-on-min-and-sec-is-there-a-better-way-than-how-i-am-doing/783361 "2023-03-04T02:05:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eagletree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eagletree](https://forums.unrealengine.com/u/eagletree)\
**Post date:** [March 4, 2023, 3:01am UTC](https://forums.unrealengine.com/t/24-hour-datetime-with-leading-0s-on-min-and-sec-is-there-a-better-way-than-how-i-am-doing/783361/2 "2023-03-04T03:01:41Z")

</div>

I think you want the format text node. Here is a thread that shows that:

> [@Format Text (formatting numbers and dates)](https://forums.unrealengine.com/t/format-text-formatting-numbers-and-dates/151374/4):
>
> You can make a date time object and output that to text or string

---

_[View the full topic](https://forums.unrealengine.com/t/24-hour-datetime-with-leading-0s-on-min-and-sec-is-there-a-better-way-than-how-i-am-doing/783361)._
