TIP: Click on subject to list as thread! ANSI
echo: pascal
to: GLEN SHELTON
from: MARK LEWIS
date: 1998-05-22 11:41:00
subject: Julian date...

 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.