When subtracting two date time sets to find the time span between them, the results are inconsistent. The results given give the total number of the unit measured for the time elapsed were as others only give the difference in their respective units of measure between the two sets of date time nodes.
In the attached image the result for hours will be 12 instead of 8772(Number of hours in a year +12).
Expected: The number of days would be 0 or the other units would measure out to a year (as can be seen with "Days")
Result: Days prints out the total number of days elapsed when subtracting two date times were as the other units only provide the results of subtraction from their own respective units (example: 13 hours - 1 hour = 12 and not the total number of hours in the year+ 12 (expected result for hours for the test 8772)).
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 4.15.2 |
Created | May 5, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |