extends Label
@onready
var Sec:Timer=Timer.new()
func _ready() -> void:
Sec.wait_time=1
Sec.timeout.connect(_on_sec_timeout)
add_child(Sec)
Sec.start()
var TheTime : String
func _on_sec_timeout():
TheTime=Time.get_datetime_string_from_system(false,true)
print(TheTime)
text=TheTime
Sec.start()
`