cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DarkLiteOne
Advocate II
Advocate II

What type is used for datetimeoffset in a response request?

We redesigned our SQL Server database to no longer use DateTime2 but rather use DateTimeOffset as suggested here. We're now at the stage of updating our Power Automate flows:

 

DarkLiteOne_0-1627994815439.png

DarkLiteOne_1-1627994951841.png

 

As you can see for the field "svVisitDate" the type "string" was chosen. Is there a better matching type for the SQL column type "datetimeoffset"? It seems a bit strange that this is recognized as a simple string...

 

Thank you for your help. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @DarkLiteOne :

The key is that there is no special "date" data type specified in JSON, or you can think of the "date" type as a branch of string type data with a special structure.

vbofengmsft_0-1628144035496.png

 

I think this link will help you a lot:
string 

Best Regards,

Bof

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @DarkLiteOne :

The key is that there is no special "date" data type specified in JSON, or you can think of the "date" type as a branch of string type data with a special structure.

vbofengmsft_0-1628144035496.png

 

I think this link will help you a lot:
string 

Best Regards,

Bof

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (980)