Created
August 26, 2016 10:42
-
-
Save ntakouris/43fbd943c37981c179465b04fe9c5c96 to your computer and use it in GitHub Desktop.
Messing with date and time in UE4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FDateTime CurDateTime = FDateTime::Now(); | |
FTimespan targetTime; | |
targetTime = targetTime.FromSeconds(5); | |
CurDateTime += targetTime; //this is your new date (forwarded by 5 seconds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment