Question

Set the final day of a month based off a date filed

  • 5 December 2023
  • 1 reply
  • 10 views

I have a date that i have used formatter to format in the way i need it.

I want to use Zapier to pull this date to then generate the final day of the month. Any formula i have tried is not supported in Zapier. Does anyone have a good solution for this? 

 

Replacing A1 with my formatted date. 

 

I have tried:

  1. =DATE(YEAR(A1),MONTH(A1)+1,0)
  2. =DATE(VALUE(TEXT(A1,"yyyy")),VALUE(TEXT(A1,"mm"))+1,0)
  3. =DATE(INT(A1),INT((A1-INT(A1))*12)+1,0)
  4. =DATE(INT(YEAR(A1)), INT(MONTH(A1)) + 1, 0
  5. =DATE(VALUE(LEFT(A1,4)),VALUE(MID(A1,6,2))+1,0)
  6. =DATE(INT(A1), MONTH(A1) + 1, 0)
  7. =DATE(VALUE(TRIM(LEFT(A1,4))), VALUE(TRIM(MID(A1,6,2))) + 1, 0)
  8. =EOMONTH(A1,0)
     

Any formula i try comes up with an error message, not supported. 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @FredHacking 

Good question.

It will probably be easier to use a Code step to calculate the desired data: https://zapier.com/apps/code/help

There is AI to help configure the code.

Or you can ask ChatGPT for the code.