Hide
DateTime

Allows you to pick a datetime using long type.

Tip
This will requires you to manually convert long to DateTime. You may want to see Extended Serialization to directly serialize a DateTime type
using SaintsField; [DateTime] // Save value in this public long dt; // Use this in script public DateTime MyDateTime => new DateTime(dt); [ShowInInspector] private long v => dt;

It works with ShowInInspector

[ShowInInspector, DateTime] private long ShowDt { get => dt; set => dt = value; }

It works with ShowInInspector/Button parameters & return value

[ShowInInspector] [DateTime] private long ShowDatetime([DateTime] long dt) => dt; [Button] [DateTime] private long ShowDatetime([DateTime] long dt) => dt;