var sys_time = get_unix_time_from_datetime_string(get_time_string_from_system())
Thanks for the answer!
int get_ticks_msec ( ) const
Does not seem to do what I want, as it returns the amount of time passed in milliseconds since the engine started, and not the system time.
I will have to try:
var sys_time = get_unix_time_from_datetime_string(get_time_string_from_system())
But since the documentation for get_time_string_from_system() says it returns the time in a HH:MM:SS, I guess the ms will be omitted.
Azengar | 2022-03-14 08:59
Yeah. I noticed I read you question wrong and it seems like the best you can get is
system_time_in_seconds - game_start_time_in_msecs to get close to the answer.
The only other way is to use the timer or make a proposal to get that feature added back into godot 4.0 since it still in alpha so it might not be to late to make a suggestion.
codelyok13 | 2022-03-14 15:20
I will make a proposal, thanks again.
Azengar | 2022-03-14 18:16
Your welcome and let me know if there is anything I can do to help as one of the projects I am working on also requires get msecs to work properly at this point and I want to move to 4.0 once it is out of alpha.
codelyok13 | 2022-03-15 02:54
See above the answer I received on the Godot chat, hope this helps!