Mismatch Date value from form Design DateTime

Dear experts,

I’d would like to get first day of the month value but i’m getting the day before the first Day of the month.
I’m not getting the date shown in form design,Datetime activity.

Form Test.xaml (10.0 KB)

Please Kindly request your help for i do not know much about Json sorry for my navitey.
Thanks a lot for your kindness

Hi,

Can you try the following expression because it seems the form return as UTC.

startDate = DateTime.Parse(Output("sdate").ToString()).ToLocalTime.ToString("yyyyMMdd")

Regards,

1 Like

Thanks a lot for your help!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.