Meridiem Time
Last updated
Was this helpful?
Last updated
Was this helpful?
Meridiem Time is the time method of choice for COZY: Weather. At its core, Meridiem Time transforms your world time to a variety of other structures and data types so that it can be easily refenced by any number of systems.
Meridiem Time is a struct that contains an int field for hours (0-23) and minutes (0-59). These values are parsed and saved as a float value (0-1) which can be manipulated on the backend or reconverted back into Meridiem Time for easy viewing on the frontend.
Meridiem Time is a completely original structure for time management, but it is incredibly simple to use in a variety of cases.
Using the , you can easily get the current time and reference it in your game. This code block will grab the current time from the Time Module: