Hi Manoj,
Try this out:
ToDays(ToDateTime(Today())-ToDateTime(""1/1/"" & FormatDateTime(Today(),""yyyy""))+MakeTimeSpan(1,0,0,0))
Replace the first Today() with a date if you're not using today like this:
ToDays(ToDateTime(""10/1/2018"")-ToDateTime(""1/1/"" & FormatDateTime(Today(),""yyyy""))+MakeTimeSpan(1,0,0,0))
Respectfully,
Dave
Dave Morris, 3Ci at Southern Company