GS>>> I'm working on a project where I need to get the Julian date
GS>>> for the current year. Something like today would be 139.
GS>>> I'm new to pascal and not sure where to start. Any help would
GS>>> be appreciated. Thanks in advane.
SH>> This is a problem that you have to work out in real life first.
SH>> For instance, in real life, you'd count the number of days up
SH>> until this day. Or, to make it simpler, you'd add the number of
SH>> days in all the previous months, then add the number of days
SH>> into the current month.
GS> I knew it was simple, duh. :) Thanks, I figured out the code
GS> for what I needed to do, after reading your message... :)
you need to also make sure that you take into account leapyears and february
gaining a day during those years...
)\/(ark
---------------
* Origin: (1:3634/12)
|