Skip to main content
Version: 2.3.x

Interface: DateChangeResponse

SimpleCalendar.Hooks.DateChangeResponse

The structure of the object passed when the Simple Calendar module emits a DateTimeChange hook

Properties​

date​

• date: DateData

This contains all information about the current date.


diff​

• diff: number

This contains the difference in seconds from the previous date and time to this new date and time.


moons​

• moons: MoonData[]