I have been trying to compute julian dates in VBA and hve only had limited success. When I change years, this becomes a big problem. The success I've had is with computing the julian date off of the date in number format. This works well but I can't seem to get the year right when the year changes.
For those not familiar with julian dates they are 4 digit numbers signifying YDDD. examples - 1 Jan 2002 = 2001 and 19 Jul 2002 = 2200. January first is always day 1 and the days are consecutively numbered through the rest of the year. (365 days for a normal year and 366 for leap year).
Can anybody help?
For those not familiar with julian dates they are 4 digit numbers signifying YDDD. examples - 1 Jan 2002 = 2001 and 19 Jul 2002 = 2200. January first is always day 1 and the days are consecutively numbered through the rest of the year. (365 days for a normal year and 366 for leap year).
Can anybody help?