x

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"

How can I convert Delta time to clock time?

I have this blueprint for animating a day/night cycle. The output is in Delta seconds which means it starts at 0.0 and ends at 2400. I would like to make it be like a clock, ie: 00:00, 13:45, 20:30. How should I go about it? blueprint

Product Version: UE 4.21
Tags:
untitled-2.jpg (290.4 kB)
more ▼

asked Mar 19 '19 at 07:05 PM in Using UE4

avatar image

NtinosFerret
17 2 2 4

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

2 answers: sort voted first

Multiply TimeOfDay with 36 and return a Timespan to build a string with "FromSeconds".

more ▼

answered Mar 19 '19 at 07:57 PM

avatar image

GarnerP57
816 3 4 8

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

One of these videos should be exactly what you are looking for.

If you need a date (MM/DD/YYYY) and/or a time (00:00, military and standard supported)

https://youtu.be/7A7criIbmgc

If you only need a time (00:00:00, hundredths of a second included)

https://youtu.be/dDDHtSp_A-0

more ▼

answered Mar 19 '19 at 10:24 PM

avatar image

Nebula Games Inc
5.4k 28 9 14

(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