Board index » delphi » Looking for Julian date routines
Darrel Davis
![]() Delphi Developer |
Tue, 27 Jun 2000 03:00:00 GMT
|
Darrel Davis
![]() Delphi Developer |
Tue, 27 Jun 2000 03:00:00 GMT
Looking for Julian date routinesDoes anyone have routines that will return the current date as Thanks |
Andrew James Johnso
![]() Delphi Developer |
Wed, 28 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesIn article <695nsk$...@news3.his.com>, Darrel Davis <darr...@his.com> Quote>Does anyone have routines that will return the current date as far as I can gather there are several permutations of 'julian dates'. However you could try - www.sharry.demon.co.uk -- Andrew James Johnson |
Jason Wallac
![]() Delphi Developer |
Wed, 28 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routines It'd be easy enough... Figure out the month, and add the days in function GetJulian(Day, Month: Integer): inter; etc... 12: result := 31 + 28 + .... 31 + day; Or something to that effect.... -- QuoteDarrel Davis wrote in message <695nsk$...@news3.his.com>... |
Richard Cart
![]() Delphi Developer |
Thu, 29 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesThere's a "Year 2000" article that covers a lot of the date |
Paul J. Poiri
![]() Delphi Developer |
Thu, 29 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesOn 11 Jan 1998 12:59:43 GMT, carte...@news.ececs.uc.edu (Richard QuoteCarter) wrote: --------------------------------------------------------------------------- FUNCTION ymdtojul(y : INTEGER; m,d : BYTE) : LONGINT; VAR temp : REAL; BEGIN {-------------------------------------------------------------------------} PROCEDURE jultoymd(julian : LONGINT; VAR y : INTEGER; VAR m,d : BYTE); VAR tempa,tempb : REAL; BEGIN --------------------------------------------------------------------------- |
Robert Bulloc
![]() Delphi Developer |
Thu, 29 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesQuoteDarrel Davis wrote: such a program I believe. Sincerely, R. Bullock |
Paul J. Poiri
![]() Delphi Developer |
Thu, 29 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesOn 11 Jan 1998 12:59:43 GMT, carte...@news.ececs.uc.edu (Richard QuoteCarter) wrote: --------------------------------------------------------------------------- FUNCTION ymdtojul(y : INTEGER; m,d : BYTE) : LONGINT; VAR temp : REAL; BEGIN {-------------------------------------------------------------------------} PROCEDURE jultoymd(julian : LONGINT; VAR y : INTEGER; VAR m,d : BYTE); VAR tempa,tempb : REAL; BEGIN --------------------------------------------------------------------------- |
Earl F. Glyn
![]() Delphi Developer |
Thu, 29 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routinesQuoteDarrel Davis wrote in message <695nsk$...@news3.his.com>... the date of interest (I use "Now" below) from the Jan 1 TDateTime, which you can find using DecodeDate and EncodeDate: DecodeDate(Now, Year, Month, Day); // Just to get the year Add 1 since "Jan 1" - "Jan 1" above will return 0. efg Earl F. Glynn EarlGl...@WorldNet.att.net |
The Graphical Gno
![]() Delphi Developer |
Fri, 30 Jun 2000 03:00:00 GMT
Re:Looking for Julian date routines[This follow up was also send to author] Quote>Does anyone have routines that will return the current date as The Graphical Gnome (r...@ktibv.nl) |