eoy

Return DateTime value for end of the year, 0:00 am

 

Example

let a=Date().eoy(); // return 31.12. of current year at 23:59:59