on 08-26-2022 12:47 PM
Hello experts,
I want to convert a value from XSDDATETIME_ISO to DATS. The original value is, for example, 2022-10-26T00:00:00.000+03:00 and I want to get the DATS equivalent. I looked for classes and function modules either directly or indirectly - that is, convert to another data type and eventually end up to DATS - but no result.
Does anyone know a solution to propose?
Thank you in advance,
Konstantinos Vassiliadis
Hello,
I used the following static class method
cl_hrpadno_acf_dd_timestamp=>datetime_to_timestamp
to get the timestamp. Then, to get the date I used the following
cl_abap_tstmp=>systemtstmp_utc2syst
Konstantinos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.