Return to contemplating a Date literal?

I often wish we had a Date literal since it's so ubiquitous. Looks like it had been discussed many many years ago - perhaps we could revisit given so much time has passed:

Adding to that, I'd be interested in a date primitive that, like a string primitive, can be turned into a full-fledged Date object when a method is called on it.

When Temporal ( is shipping in engines, then there will hopefully no longer be any reason for anyone to use Date.

1 Like

Worth noting date literals aren't really much of a thing outside config file formats, data interchange formats, and (less often) query languages. And even those (ex: JSON, XML, PostgreSQL) often don't have them.

1 Like