Original post

How can I get the last date of the year? I am trying to create a function where I give year in int like 2020 which returns me the last date of the year which will be 31-Dec-2020.

Can someone plz tell me how I can do it?

Is something like this what you are looking for?


Yes, thank you so much.

No problem!