# DateTime Formatting issue after Saving

**URL:** <https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296>\
**Category:** Programming & Scripting\
**Tags:** hud-blueprint, unreal-engine, saving, Blueprint\
**Created:** [November 30, 2023, 6:14pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296 "2023-11-30T18:14:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a548922](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@a548922](https://forums.unrealengine.com/u/a548922)\
**Post date:** [November 30, 2023, 6:14pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296/1 "2023-11-30T18:14:59Z")

</div>

Hi there all,

I am trying to create a date and time system for my game. When I am trying to present the DateTime variable in the HUD view, it displays it “Jan 1,1” and not “Jan 1, 1950” Like I intended it to. This issue started when I implemented a save system. The variable types are all the same, but somewhere, somehow, the data makes itself so that it formats wrong. The kicker, the date and time are right and still tracking appropriately. Any help would be gratefully appreciated.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/f/2afd876bc00421511f483fb4d63d211e54de2247.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/a/caac8825058f1af36cc080745e00d0a2c2db5b4a.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 30, 2023, 7:47pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296/2 "2023-11-30T19:47:03Z")

</div>

> somewhere, somehow, the data makes itself so that it formats wrong

Not sure what kind of help you need or expect since we see no offending script. This:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/f/0efc46ff83e339c5d23018f9eebb6d58b7ab7f77.png)

Produces this:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/2/3a2243d46f79f5f0daff83f5babad124dd4bc118.png)

And you can always do your own custom formatting:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/2/432abc530407f562f4911fc2aecd60a7fef5ee43.png)

---

<div class="post-metadata">

**Author:** ![a548922](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@a548922](https://forums.unrealengine.com/u/a548922)\
**Post date:** [November 30, 2023, 8:35pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296/3 "2023-11-30T20:35:50Z")

</div>

Forgot to do that. I have uploaded some photos.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 30, 2023, 8:39pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296/4 "2023-11-30T20:39:25Z")

</div>

There’s nothing that can be deducted from those…

Put breakpoints where it counts, step through the scirpt, print / observe data - see where things break.

---

<div class="post-metadata">

**Author:** ![a548922](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@a548922](https://forums.unrealengine.com/u/a548922)\
**Post date:** [November 30, 2023, 8:46pm UTC](https://forums.unrealengine.com/t/datetime-formatting-issue-after-saving/1439296/5 "2023-11-30T20:46:30Z")

</div>

Ok. I print to screen between all connections and they print to screen the same thing. I delete it all and start again. I think something go broken along the way. The process is the same as I have done before, so I think it just might be a bug I created.
