Creates a new TDateType schema instance.
The schema admits a Date or its serialized date string. Value.Decode normalizes either into a Date; Value.Encode leaves Date instances in place so JSON.stringify renders them as ISO strings.
Date
Value.Decode
Value.Encode
JSON.stringify
Creates a new TDateType schema instance.
The schema admits a
Dateor its serialized date string.Value.Decodenormalizes either into aDate;Value.EncodeleavesDateinstances in place soJSON.stringifyrenders them as ISO strings.