Skip to content
ct

Class

DateTime

Generated GDScript class reference for CalendarTime.DateTime.

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

The game date and time represented as a resource composed of GameDate and HoursTime

Source: addons/calendar_time/game_time/time_units/date_time.gd

Syntax

class DateTime extends Resource

Members

NameKindSummary
datePropertyThe date day, month, year Correlates with a particular game calendar that calculated it and not necessarily the real world calendar
timePropertyThe time representation of the current day's hours, minutes, and seconds
from_componentsMethod
matchesMethod
validateMethod
to_dictMethod
from_dictMethod
as_formattedMethod