Clarification on Cloud Rule Timezone Usage

Hi All,

I have created a cloud rule for calculating LCS, where I am using the following packages:

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

My project’s time zone is AEST (Australia Eastern Standard Time), and the tenant time for my VA org is also set to AEST. My question is: will the cloud rule use the tenant (org) time zone, or is it based on a different time zone?

Has anyone encountered this issue before? If so, could you please help me troubleshoot further?

Thank you in advance for your assistance.

Best regards,
Vasanth

As cloud rules are executed on cloud, VA time zone would not matter. In my opinion, you should be able to get the time in any time zone using standard Java libraries

Hi @iamnithesh,

Noted, Just saw Tenent time zone is different(America/Chicago), Does this time zone will come in picture while running cloud rule?

Regards,
Vasanth

I don’t think tenant time zone really matters in Java unless you refer to LocalDate. My memory is a bit rusty and I suggest to have a look at this link:

Hi @iamnithesh,

Noted, Thanks!