To answer my own question with the response I received on the Godot Chat.
It was removed in favor of OS.get_unix_time()
, which now returns float, so you can get sub-second values from the fractional part, see godot#39189.
Concrete example:
var unix_time: float = Time.get_unix_time_from_system()
var unix_time_int: int = unix_time
var dt: Dictionary = Time.get_datetime_dict_from_unix_time(unix_time)
var ms: int = (unix_time - unix_time_int) * 1000.0
var str := "%s.%s.%s %s:%s:%s:%s" % [dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, ms]
print(str)
Shows 2022.3.15 11:42:11:621
.