I have got a database where I have a field date (as date) and the year as number.
The fields with the dates are already prefilled with the specific dates.
I just created a workflow which extracts the year from the date-field and stores the year as a number into this field. I use this for the dropdown in order to group the dates.
Now it worked actually but on the 1st January of the year, the extracted year it the previous one. Can anybody tell my why?
Use date formatting, this way you can save as text and also integer. It will work on Time zone selection too as it will consider User’s current time zone.
When I do a bulk in the database. It looks like I have described it above. When I trigger a schedule API Workflow on a list and then do the same, it works.