I want to write expression in a "Set Variable" activity and convert utcnow() to "IST" (Indian Standard Time"
I wrote the expression as : @convertTimeZone(utcnow(),'UTC','Indian Standard Time')
and I get the below error while I debug the pipeline:
In the function 'convertTimeZone', the value provided for the time zone id 'Indian Standard Time' was not valid. '.
I tried:
@convertTimeZone(utcnow(),'UTC','Pacific Standard Time')
and
@convertTimeZone(utcnow(),'UTC','Eastern Standard Time') and the debug runs just fine for both of these
how to make it work for the cases where it doesn't ?