extends Label func _ready(): Clock.day_passed.connect(_update_text) _update_text() func _update_text(): text = Clock.get_date_string()