Forum Discussion

FatemaShakir's avatar
FatemaShakir
New Contributor II
3 years ago
Solved

Converting UST date and time to IST date and time

Hey all, Is there any way to convert a UST date/time to an IST date/time? Any help will be appreciated. Thank you.
  • marjan_karafilo's avatar
    3 years ago

    Hi @FatemaShakir ,

    You can try the following expression:

    Date.parse(Date.now()).toLocaleDateTimeString({"timeZone":"Asia/Kolkata", "format":"yyyy-MM-dd HH:mm"})
    

    It converts current datetime in IST timezone.

    Also, you can take a look at this documentation about Date Functions and Properties in SnapLogic.

    These are the Supported Timezones in SnapLogic.

    BR,
    Marjan