Symptom
- The ABAP statement CONVERT DATE INTO TIMESTAMP returns incorrect results when converting dates prior to October 15, 1582.
- For example, the date 14.10.1582 is converted into timestamp 15821024000000 (which corresponds to the date 24.10.1582) instead of the expected 15821014000000.
Read more...
Environment
ABAP Platform
SAP NetWeaver Application Server for ABAP
SAP S/4HANA
Product
ABAP platform all versions ; SAP ERP all versions ; SAP NetWeaver Application Server for ABAP all versions ; SAP S/4HANA all versions
Keywords
ABAP, CONVERT DATE INTO TIMESTAMP, incorrect conversion, Gregorian calendar, Julian calendar, timestamp, date conversion, 1582, October 15, custom function, date adjustment. , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.