Skip to content

Class

DateTime

Generated GDScript class reference for CalendarTime.DateTime.

Status
Current
Version
v2.1.0
Source updated
2026-08-09
Generated on
2026-09-01

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