I'm currently working on a query and i need to compare a Julian date to todays date. The easiest way I guess to do this is convert now() to Julian as the query will be run regularly. Can anybody help?
I am also currently looking at this issue. If it helps there is actually a test table with all the Julian dates as well as bank holidays etc in the download sample database section.
I'm curious as to your definition of 'julian date'. If you did a Google on the term, you'd find it represented as a
7,980-year cycle that began on January 1, 4713 BC'. However, most times when a reference is made to
it nowadays, e.g. military usage, it refers to some version of the day of the year.
If that's the case, the following will return the day of the current year (today is 29 Dec 2009):