Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Converting Date/Time to Local Time considering Daylight savings

I am importing a SharePoint list which saves the Datetime in Pacific Time (US). I now have the task of converting into Indian Standard Time (+05:30 GMT) but I need to take Daylight savings time into ...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi Anonymous,

     

    You can try to use custom column to show the formatted date/timezone text.


    Steps:

    1. Open query editor.
    2. Add custom column to display the date value.
    3. Change this column to date/time/timezone type.
    4. Change the column's type to text.
    5. Close and return to report view.

     

    Query:


     Custom = Table.TransformColumnTypes(Table.TransformColumnTypes(Table.AddColumn(#"Changed Type", "Custom", each [Date]),{{"Custom", type datetimezone}}),{{"Custom", type text}})

     

     

     

    Regards,

    Xiaoxin Sheng