Re: Julian date conversion
Posted in 1994
Karl Kuehner (karlk@iglou.iglou.com) wrote: : I am currently looking for a way to change a Julian date to a Gregorian date. : If any one has a routine or ideas, I would be greatful. Karl, I guess by Julian date you mean the number of days in a given year, so e.g. January 1 would be Julian date "1" etc. If you want to convert a Julian date for the year 1994, do the following (in 4GL): <gregdate> = MDY(31.12.1993) + <juldate> where juldate is the Julian date as an INTEGER. Hope that helps, Richard -- +----------------------------+-------------------------------------------+ | Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de | | EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3421 | | Klinikum Grosshadern | FAX : +49-89-7095-8886 | | 81366 Munich, Germany | | +----------------------------+-------------------------------------------+