Skip to content

Instantly share code, notes, and snippets.

@ntakouris
Created August 26, 2016 10:42
Show Gist options
  • Save ntakouris/43fbd943c37981c179465b04fe9c5c96 to your computer and use it in GitHub Desktop.
Save ntakouris/43fbd943c37981c179465b04fe9c5c96 to your computer and use it in GitHub Desktop.
Messing with date and time in UE4
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