When I patch now() to sharepoint it stores the date correctly but the time is always midnight (00:00).
Patch(SharepointList, LookUp(SharepointList, CustomerID = varCustomer.ID),{
Raised_DateTime: Now()
})
Which works but shows up in Sharepoint as "30/01/2021 00:00", when it should show "30/01/2021 15:42".
I have tried workarounds for this such as converting the date to text and then patching a DateTimeValue() of it...
e.g.
Patch(SharepointList, LookUp(SharepointList, CustomerID = varCustomer.ID),{
Raised_DateTime: DateTimeValue(Text(Now()))
})
This also does the same thing.
When I set up a label in powerapps to show me the value of Now() it gives me the full datetime.
I have googled this to exhaustion.
Does anyone know how to get sharepoint to also store the time correctly?
FYI I am in the UK. I have checked the sharepoint site Regional Settings. They are set to:
Time zone = (UTC) London
Region = English (United Kingdom)
Time Format = 24hour
EDIT: Forgot to mention that the column in question is set to Type = Date and Time and the 'Include Time' switch is set to Yes.