How to convert datetime to desired timezone using azure data mapper operations in visual studio code

Srinivasan Subramani 0 Reputation points
2024-11-28T02:57:59.68+00:00

How can i convert the date time value to desired timezone when creating maps (xslt) using azure data mapper.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,261 Reputation points
    2024-12-03T14:24:48.8966667+00:00

    @Srinivasan Subramani Thanks for your patience! I had a discussion internally and confirmed that currently this function Adjust DataTime to timezone uses the implicit time zone from dynamic context and converts the input datetime to the implicit time zone.

    So, for example, if the transformation takes place with the WestUS implicit context, the time zone is adjusted accordingly.  (In most cases this would mean the time zone is adjusted to local time)

    So far, we have implemented only a single argument function for this purpose. Taking a second argument for the desired time zone is in our backlog.

    do let me know incase of further queries, I would be happy to assist you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.