on 2025 Jul 18 3:18 PM
Good day,
Running this query in SAP ASE 16.x :
select convert(datetime,'491006'), convert(datetime,'501006')
For '491006' it returns 2049 instead 1949. Any known issue?
Thank you
Regards
Jose
Request clarification before answering.
This is the expected documented behavior.
"
If you specify only the last two digits of the year, values of less than 50 are interpreted as “20yy,” and values of 50 or more are interpreted as “19yy.”
cheers,
-bret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.