Skip to content
ct

Class

TimeFormat

Generated GDScript class reference for CalendarTime.TimeFormat.

Status
Current
Version
v2.0.4
Updated
2026-08-09

Source: addons/calendar_time/game_time/ui/time_format.gd

Syntax

class TimeFormat extends Resource

Members

NameKindSummary
secondsPropertyMinimum number of digits to show for seconds, minute, hours time
minutesPropertyMinutes are rendered using this format string.
hoursPropertyHours are rendered using this format string.
dayPropertyDay number is rendered using this format string.
monthPropertyMonth number is rendered using this format string.
yearPropertyYear number is rendered using this format string.
time_separatorPropertySeparator placed between rendered time components.
date_formatPropertyFormat for showing GameDate Options {day} {month} {month_name} {year}
hours_timePropertyFormat for showing HoursTime Options {hours} {minutes} {seconds} `{time_separator}` is replaced with `time_separator` at format time.
date_time_formatPropertyFormat for showing DateTime Options {day} {month} {month_name} {year} {hours} {minutes} {seconds} `{time_separator}` is replaced with `time_separator` at format time.
get_formatted_dateMethod
get_formatted_timeMethod
get_formatted_date_timeMethod