How can I get current unix timestamp in seconds or milliseconds using blueprint?

DateTime-DateTime function is not available in UE5.

It was broken from 5.0 to 5.2, but it’s there in 5.3. If upgrading engine is not an option - someone also reported that you can just copypaste this node from other engine version and it should work.