# Cannot set default value of Datetime in blueprints

**URL:** <https://forums.unrealengine.com/t/cannot-set-default-value-of-datetime-in-blueprints/440378>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [December 31, 2018, 7:28pm UTC](https://forums.unrealengine.com/t/cannot-set-default-value-of-datetime-in-blueprints/440378 "2018-12-31T19:28:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a339845a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a339845a](https://forums.unrealengine.com/u/anonymous_user_a339845a)\
**Post date:** [December 31, 2018, 7:28pm UTC](https://forums.unrealengine.com/t/cannot-set-default-value-of-datetime-in-blueprints/440378/1 "2018-12-31T19:28:17Z")

</div>

I have a variable in a blueprint with a datetime variable I am trying to set to be 10 seconds as a test for something else I am setting up.

When I debug it in game however it appends on 5 hours for some reason every time.

Also I cant ever seem to be able to set milliseconds from the default of 0500 to 0000, doing this will also append about 5 hours of time onto the value, except this will occur inside the actual editor.

![263746-datetimeset.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/4/524cfe71a51abf046188483dbf5300bd6a4772b6.png)

![263747-datetimeset-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/4/0e4eea2ea4850d8436906960d56939c36c559aa0.png)

I am also aware of this thread: [How to set default value of DateTime Struct? - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/173888/view.html)  
But the details of it seemed different enough that I felt this should be a separate discussion although they are similar

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [January 1, 2019, 11:24pm UTC](https://forums.unrealengine.com/t/cannot-set-default-value-of-datetime-in-blueprints/440378/2 "2019-01-01T23:24:01Z")

</div>

This is timezone, so it alters time to -5h. There no millisecond edit support for detail panel, only way to do it is to send milliseconds programmaticly or edit FDateTimeStructCustomization, you might try to override it with details customization:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
