Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/12
loading
loading
Dates and Times for Unity provides users with two classes that are easily interchangeable with the default System.DateTime and System.TimeSpan classes which are now serialized within Unity.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.15f2
Compatible
Compatible
Compatible
Description

The Dates and Times for Unity asset provides users with SerializableDateTime and SerializableTimeSpan structs. Both structs are easily interchangeable with the default System.DateTime and System.TimeSpan structs are now serialized within Unity.


In addition to being serializable (they can be displayed in the inspector), a nice editor window can be used to set date time, and/or time span values.


🗂️ This asset is part of the PRO Development Bundle. Get 10 assets, including tools, extensions and out-of-the-box architecture to improve your debugging and development and save over 50%!


Features

  • A SerializableDateTime struct that is easily interchangeable with the System.DateTime struct.
  • An extensive property drawer in which a SerializableDateTime value can be set.
  • A SerializableTimeSpan struct that is easily interchangeable with the System.TimeSpan struct.
  • An extensive property drawer in which a SerializableTimeSpan value can be set.
  • A TimeExtensions class to provide calculation of metadata like Season, Part of the day, and Period of the day.
  • Full support for UNIX time.
  • A wide selection of formatting options.
  • A complete demo scene showcasing how to implement and use the asset.
  • Fully tested and optimized for performance.

More assets by DTT


🗃️ Upgrade your projects with our discount bundles - 50% off!


Curious about what else we got to offer?

Please check out our publisher page or visit our website!


A question or suggestion? We would love to hear from you.

We are always looking to improve our assets to suit your needs.


If you have any questions (before or after purchasing it), always feel free to contact us at: asset-support@d-tt.nl.


❤️ Reviews are very much appreciated, we love to hear what you think of the asset.

Technical details

Quality

  • All code is extensively and clearly commented.
  • Runtime code is >95% unit tested.
  • Contains an extensive PDF with documentation, including code samples to help you on your way.

Compatibility

Tested and verified from Unity 2020.3 onwards on:

  • iOS
  • Android
  • Windows
  • MacOS
  • WebGL

Dates and Times for Unity

(3)
25 users have favourite this asset
(25)
$15.99
Seat
1
Updated price and taxes/VAT calculated at checkout
12 views in the past week
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
2 years ago
Cool extension
A very handy extension for working with time in Unity. It is very comfortable. I began to use it in all projects where work over time is necessary. In...
License type
File size
16.1 MB
Latest version
1.0.3
Latest release date
May 31, 2022
Original Unity version
2020.3.15 or higher
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR