How to get a specific date every month

Hello All,

I would like to get the 16th of each month for every year.

eg.

03/16/2023
04/16/2023
05/16/2023

Kindly please help. Thanking you

HI @Yugal_Raju

New DateTime(Now.Year,Now.Month,16).Tostring("MM/dd/yyyy")

The above expression will get you the 16 th of current month and current year

Regards
Sudharsan

Hi @Yugal_Raju

Try this.

now.ToString("MM/16/yyyy")

image

Hope this helps

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.