I am doing a task in which it is required to find the last day of the year by given current date.
Like if its 06/Jan/2013 is given to it and it will automatically return the end day of the year. like 31/Dec/2013
I am using many ways like adding the remaining days of the year, but when it is Leap year then miss matches occurs, can any body send me precise solution or guied me how to.
Basically I wanted to jump over the last date of the year.This was tentively for C#
Why not something simple like this?