Convert UTC to PST format

I am trying to convert a UTC Date Time format to PST. Please help me out :frowning:
I tried local time but I am in IST, need it in PST

@siddhi.r.wandre
Can you try
grafik

TimeZoneInfo.ConvertTime(YourUTCDateTimeVar, TimeZoneInfo.FindSystemTimeZoneById("Pacific SA Standard Time"))

Hi @siddhi.r.wandre

Take the below three syntax in Assign activity:

utcDateTime= DateTime.UtcNow
pstTimeZone= TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time")
pstDateTime= TimeZoneInfo.ConvertTimeFromUtc(utcDateTime, pstTimeZone)

utcDateTime, pstDateTime is of DataType System.DateTime
pstTimeZone is of DataType System.TimeZoneInfo

Hope it helps!!