common data service and flow date error

%3CLINGO-SUB%20id%3D%22lingo-sub-377573%22%20slang%3D%22en-US%22%3Ecommon%20data%20service%20and%20flow%20date%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-377573%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20an%20entity%20in%20CDS%20with%20field%20%22%3CSPAN%3ESoftware%20Maintenance%20End%22%20(date1.png)%20I%20read%20this%20in%20flow%20and%20put%20it%20in%20variable%20%22licenseend%22%20and%20send%20email%20with%20subject%20containing%20field%20and%20variable%20(date2.png)%20and%20the%20value%20read%20by%20Flow%20is%201%20day%20before%20(date3.png)%3CBR%20%2F%3Eex%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESoftware%20Maintenance%20End%2018%2F12%2F2018%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ein%20mail%20displays%2017%2F12%2F2018%20(without%20calculation)%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-377573%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394301%22%20slang%3D%22en-US%22%3ERe%3A%20common%20data%20service%20and%20flow%20date%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394301%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F30470%22%20target%3D%22_blank%22%3E%40Patrick%20Sanouiller%3C%2FA%3E%20CDS%20stores%20and%20returns%20al%20DateTime%20values%20in%20UTC.%20If%20you%20are%20not%20directly%20applying%20any%20calculation%20you%20may%20want%20to%20check%20your%20User%20Settings%20to%20see%20what%20timezone%20you%20are%20configured%20for%2C%20this%20may%20be%20impacting%20the%20date%20calculation.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I've an entity in CDS with field "Software Maintenance End" (date1.png) I read this in flow and put it in variable "licenseend" and send email with subject containing field and variable (date2.png) and the value read by Flow is 1 day before (date3.png)
ex:

Software Maintenance End 18/12/2018

in mail displays 17/12/2018 (without calculation)

1 Reply
Highlighted

@Patrick Sanouiller CDS stores and returns al DateTime values in UTC. If you are not directly applying any calculation you may want to check your User Settings to see what timezone you are configured for, this may be impacting the date calculation.