Announcement

Collapse
No announcement yet.

Compatible Julian Date Function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compatible Julian Date Function

    Recently, I down loaded Ian Cairns long integer version of Egbert Zijlema's Julian conversion routines (titled: "Easter Calculation") from the Source Code forum. The routines work very well, indeed.

    The great part is that with the DateToJulian PB function I am able to match exactly the results from the built-in FoxPro sys(11) Julian date conversion function.

    I am presently re-writing a FoxPro application to PB/DLL. This function is going to save me quite a few hours as I will not have to change program logic in those parts of the FoxPro program that use Julian dates.

    My thanks to Egbert and Ian.

    Bruce Warner


    ------------------

  • #2
    Bruce,

    In Windows32 it is possible to use a different method, provided by the Windows API. It does not work, however, for calendar dates before January 1, 1601.
    If you are interested, drop me an e-mail and I'll send you the code.
    BTW: If more people are interested I may post it in the source code forum as well.


    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/

    Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
    http://zijlema.basicguru.eu
    *** Opinions expressed here are not necessarily untrue ***

    Comment

    Working...
    X