You can see that from Output
Temp is 2020-01-05
and I am expecting the datetimefirstofmonth will return 2020-01-01
but it returned 2022 instead
is there any misunderstanding of the formulas?
Hi @terrellchong
DateTimeFirstOfMonth() Is designed to give only first of current month. To get first of given month use formula like below
DateTimeFormat([Temp],"%Y-%m-01")
Workflow:
Hope this helps : )
You can also use
DateTimeTrim([Temp],"firstofmonth")
so it basically ignores the year?