Skip to Content

How to convert the time in SAP HCI/CPI from UTC to other timezone

Hello Guys,

I am using below Date now function in my SAP CPI integration.

${date:now:dd-MM-yyyy HH:mm z}

It works fine and able to get current time and date. But by default I am getting value in UTC timezone.

Note: I am expecting value should be in EET/IST timezone

Do anyone have idea how we can convert it to other timezone.?

Regards.

Deva

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 05 at 03:58 PM

    Hi Devraj,

    Similar requirement has been achieved using script.

    https://blogs.sap.com/2018/02/28/using-local-time-zone-for-target-file-name-on-cloud-platform-integration/

    hope this helps.

    thanks and regards,

    Praveen T

    Add comment
    10|10000 characters needed characters exceeded