on 2020 May 19 4:55 PM
Hi
I use the common type "Manage" of cds library but, when I save a record in my table, it is in UTC but I need to be in UTC+2
Can I set a specific TimeZone?
I use CAP in NodeJS.
Thanks
Hi manuel_aguilar_blanco,
CAP treats all timestamps as UTC, so you'll need to adjust the request payload accordingly.
Best,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian, Hi m,
I would think it's better to only adjust the TimeZone in the frontend. That's how SAPUI5 handles it. UTC timestamps are shown according to the users timezone settings. So you can also have at a later point in time users in different timezones.
Best regards
Gregor
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.