DateTimeAllows you to pick a datetime using long type.
TipThis will requires you to manually convertlongtoDateTime. You may want to see Extended Serialization to directly serialize aDateTimetype
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;
