Loading

How to Calculate the Date of the End of the Month

Дата публикации: Apr 30, 2025
Задача

How to get the date of the end of a month.
 

Действия

Because there is no native date function to determine the end of the month from a date field, create a date calculation as instructed below to obtain the end of the month. 

DATEADD('day',-1,(DATEADD('month',1,DATETRUNC('month',[Order Date]))))
Дополнительные ресурсы

To voice your support for future implementation of this feature, please vote to the Idea.

 

Номер статьи базы знаний

001467819

 
Загрузка
Salesforce Help | Article