String to DateTime no longer possible?


I need to save and load DateTime in my game and it needs to be saved as a string.
It’ s easy to use AsDateTime to get the text version of current DateTime and save it.

But rebuilding it seems impossible, ive been trying with MakeTime but i dont understand it at all and there is no clear documenation about that i can find.

After a bit of googling i found this:

Wich would have been the dream for me, is it removed or is it something they introduced in 4.9? Is there anyway of getting my string back to DateTime?

I know this is old, but for anyone who stumbles into this, the function you want is FDateTime::Parse(inString, OutDateTime)

1 Like