Trying to add a date/time and a timespan with the DateTime + Timespan node per the documentation.
When I connect a timespan value into the B pin of the addition node, Unreal automatically converts the node into a Timespan + Timespan node.
I assume this is a UE5 bug. If so, is there any way I can turn off this auto-conversion until it’s fixed? Or perhaps I am just doing something wrong?
I’m having this exact issue. UE5.0_EA
the problem still exists in UE5.0_P2
I have tried to add a datetime to a datetime, it is not working as well. The convert pin menu is not opening for the input pins. If you add another input pin, there will be a datetime, a timespan and another datetime pin created, which can be connected to two datetimes. But shows error on compile.
P.S: Today I compiled an Editor from 5.0 branch, the problems still exist.
Here is a combination that could help:
FDateTime+FTimespan was able to work in C++
So I add a BlueprintFunctionLibrary function:
To add the seconds you can use that function in C++, with FTimespan methods.
FDateTime UTestFuncLib::AddSeconds(FDateTime StartFrom, int TimeToAdd)
FTimespan DataTimeTemp = FTimespan::FromSeconds(TimeToAdd);
return StartFrom + DataTimeTemp;