Name

julian — convert a date or timestamp to a julian date

Synopsis

INT julian ( date);  
DATE date ;
 
INT julian ( date);  
TIMESTAMP date ;
 

Input

date

A date or timestamp.

Description

You supply this function with a date (or a timestamp) and it returns the integer that represents the given date as the number of days since a particular reference date. This number is known as the Julian date representation of the given date. (Day number 2,361,222 is September 14, 1752.) Legal values for the date are between September 14, 1752 and December 31, 9999, inclusive.


Page generated: 2016-07-22T23:08:45-04:00.