Problem getting correct date and time for a chat message in packaged game

Hello basically I have a message structure that contains username, message, time message was sent etc

Everything works fine except the date and time displays an incorrect value.

The only time it works is in STANDALONE

I don’t think it could be a replication issue because if the structure wasn’t replicating as intended then the message text and username etc would be wrong but these values are correct

When I run standalone game it works fine


But if I run in editor or in packaged game it gives me a incorrect value



Oh just found out that date Time Variables don’t have any UPROPERTY values, so they won’t replicate. Which is what’s causing the problem I think