An Idea Exchange for SAS software and services

Comments
by Super User
3 weeks ago

It would indeed.  I don't believe any of the literals have been updated in years.

by Super User
3 weeks ago

I think that instead of

'2018-04-05'd

that a reference like

'2018-04-05'id  or '2018-04-04T08:34:25.678'idt  

to indicate that the user does indeed intend to use an ISO date literal might be a slightly better idea. Then the compiler actually has something to grab and use the correct algorithm.

 

Overloading a literal indicator sounds like a coding nightmare. And since we see enough examples of people attempting to misuse the current date, datetime and time literals I'm not sure that I want  spend more time explaining why date literals in all the other forms attempted aren't valid.

by Super User
2 weeks ago

Good and valid idea, @ballardw!

Idea Statuses
Top Liked Authors