Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cannot set default value of Datetime in blueprints

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.

alt text

alt text

I am also aware of this thread: 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

Product Version: UE 4.21
datetimeset.png (3.1 kB)
datetimeset-2.png (13.3 kB)
more ▼

asked Dec 31 '18 at 07:28 PM in Blueprint Scripting

avatar image

11 3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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:


more ▼

answered Jan 01 '19 at 11:24 PM

avatar image

37.2k 936 172 1116

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question