Having some trouble getting the right DateDiff value between PowerApps Now() and an AUS formatted date time in dd/mm/yyyy.
Current date time = 20/05/2019.
The date in my data field = 30/06/2019
Function Now() = 5/20/2019 11:19 AM
(Trying to convert to AUS format) DateValue(Text(Now(),"[$-en-US]dd/mm/yyyy")) = 8/5/2020
(Trying to format the AUS data field to a DateValue) DateValue(LabelExpiry.Text) = 6/6/2021
Formula = DateDiff(DateValue(LabelExpiry.Text),DateValue(Text(Now(),"[$-en-US]dd/mm/yyyy")),Months)
This produces - 10 or 10, depending on which value you put first. This is not expected at all. What I would expect is - in months at least - either a 1 or 0 depending on how it calculates.

Report
All responses (
Answers (