dataflow to capture date and time

arkiboys 9,686 Reputation points
2022-04-11T07:07:48.82+00:00

As you see in screen-shot, the ingestionDate shows one hour behind of my time.
Do you see what I can do so that the captured date and time is as same as my computer?
in screen-shot, the first column is using currentUTC
the second column is using currentTimestamp()
Thank you

191670-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,948 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 31,806 Reputation points Microsoft Employee
    2022-04-12T10:03:37.193+00:00

    Hi @arkiboys ,

    Thankyou for using Microsoft Q&A platform and posting your query.

    As I understand your query here, you want to fetch the current Time according to your current location. Please let me know if my understanding is incorrect.

    To achieve this requirement, you can make use of derived column transformation and using fromUTC function which will convert the timestamp from UTC according to the timezone provided.

    Here is an example of converting to PST and IST using the expression fromUTC(currentUTC(), 'PST') , fromUTC(currentUTC(), 'IST') respectively.

    192313-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful