Dates and Times for Unity

The Dates and Times for Unity package offers two structs, SerializableDateTime and SerializableTimeSpan, that can be used in place of the default System.DateTime and System.TimeSpan structs. These structs are serializable, allowing them to be displayed in the inspector, and come with a nice editor window for setting date and time values. The package also includes a TimeExtensions class for calculating metadata like season, part of the day, and period of the day, as well as full support for UNIX time and a wide selection of formatting options. A complete demo scene is also provided to showcase how to implement and use the asset.

All code is extensively and clearly commented, with runtime code over 95% unit tested. The package includes an extensive PDF with documentation, including code samples. It has been tested and verified on Unity 2020.3 and later versions on various platforms, including iOS, Android, Windows, MacOS, and WebGL.

Dates and Times for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Easy Date and Time Picker for Unity

Easy Date and Time Picker for Unity Thumbnail

Auto Save and Version Control for Unity

Auto Save and Version Control for Unity Thumbnail

Stylized Plant and Tree Pack for Unity

Stylized Plant and Tree Pack for Unity Thumbnail

Enhanced UGUI Outlines and Gradients for Unity

Enhanced UGUI Outlines and Gradients for Unity Thumbnail

Krita and OpenRaster Importer for Unity

Krita and OpenRaster Importer for Unity Thumbnail

Easy Drag and Drop Plugin for Unity

Easy Drag and Drop Plugin for Unity Thumbnail