Hi éveryone,
I am trying to format a date field from Dynamics CRM with the help of FormatDateTime but I always get the following error:
Unable to process template language expressions in action 'List_records' inputs at line '1' and column '15922': 'In function 'formatDateTime', the value provided for date time string 'birthdate' was not valid. The datetime string must match ISO 8601 format.'.
The name of the field is "birthdate" and this is how I am formatting it: formatDateTime('birthdate','MM/dd')
I am using it to list records from CRM and made an oData query:
((Microsoft.Dynamics.CRM.On(PropertyName='@{formatDateTime('birthdate','MM/dd')}',PropertyValue='@{formatDateTime(utcNow(),'MM/dd')}') or (Microsoft.Dynamics.CRM.On(PropertyName='birthdate',PropertyValue='2020-02-29') and Microsoft.Dynamics.CRM.On(PropertyName='birthdate',PropertyValue='2021-03-01'))))