I can confirm that it still does not work in 1.2.7.0 (SimConnect). Sorry if this should be posted in another thread.
In MSFS 2020, you would use this (if using managed VB.NET which would be similar in C#).
To get the time on every interval, you would use this:
msfs_simconnect.AddToDataDefinition(StructDefinitions.Struct1, “ZULU DAY OF YEAR”, “number”, SIMCONNECT_DATATYPE.FLOAT64, 0, 14)
msfs_simconnect.AddToDataDefinition(StructDefinitions.Struct1, “ZULU TIME”, “seconds”, SIMCONNECT_DATATYPE.FLOAT64, 0, 15)
msfs_simconnect.AddToDataDefinition(StructDefinitions.Struct1, “ZULU YEAR”, “years”, SIMCONNECT_DATATYPE.FLOAT64, 0, 16)
To set the time, you would use this (which no longer works in MSFS 2024:
msfs_simconnect.MapClientEventToSimEvent(SIM_EVENTS.ZULU_YEAR_SET, “ZULU_YEAR_SET”)
msfs_simconnect.MapClientEventToSimEvent(SIM_EVENTS.ZULU_DAY_SET, “ZULU_DAY_SET”)
msfs_simconnect.MapClientEventToSimEvent(SIM_EVENTS.ZULU_HOURS_SET, “ZULU_HOURS_SET”)
msfs_simconnect.MapClientEventToSimEvent(SIM_EVENTS.ZULU_MINUTES_SET, “ZULU_MINUTES_SET”
msfs_simconnect.TransmitClientEvent(0, SIM_EVENTS.ZULU_YEAR_SET, intYears, GROUP_ID.GROUP_1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY)
msfs_simconnect.TransmitClientEvent(0, SIM_EVENTS.ZULU_DAY_SET, intDays, GROUP_ID.GROUP_1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY)
msfs_simconnect.TransmitClientEvent(0, SIM_EVENTS.ZULU_HOURS_SET, intHours, GROUP_ID.GROUP_1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY)
msfs_simconnect.TransmitClientEvent(0, SIM_EVENTS.ZULU_MINUTES_SET, intMinutes, GROUP_ID.GROUP_1, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY)
When setting, year, month, and day seem to be ignored, and the time is incorrect.
Hope this of some help.