DateToJD ( thedate ; gregorian )
converts a date into a Julian Day number
Average rating: 4.5 (31 votes) Log in to vote
Theo Ros - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns a Julian Daynumber for date in 'thedate'
this number is based on November 24 -4713 (=day zero Gregorian)
which is January 1 -4712 (January 1 4713 BC) Julian.
In: thedate - a FileMaker Date field.
if empty, the function uses the current date
gregorian - optional: if <> 0 or empty use Gregorian calendar
if 0 use Julian calendar
defaults to Gregorian calendar
Return type: Number
Syntax: DateToJD ( thedate )
Return type: Number
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.