79536770

Date: 2025-03-26 17:19:25
Score: 0.5
Natty:
Report link

I am able to get AEST timezone date time with below approach:

       let queryDate = result.values[1];
                    let queryDateObj = new Date(queryDate);
                    log.audit("queryDateObj",queryDateObj);
                    let ASTTimeZone = format.format({
                        value:queryDateObj,
                        type:format.Type.DATETIME,
                        timezone:format.Timezone.AUSTRALIA_SYDNEY
                    });
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Maira S