Creates a validated UpdatedAt timestamp.
Optional
Optional Date. If not provided, uses current time.
A branded UpdatedAt value
When the value is not a valid Date
const now = makeUpdatedAt(); // Current timeconst specific = makeUpdatedAt(new Date("2024-01-01")); Copy
const now = makeUpdatedAt(); // Current timeconst specific = makeUpdatedAt(new Date("2024-01-01"));
Creates a validated UpdatedAt timestamp.