Flowdock
ajd() public

Returns the astronomical Julian day number. This is a fractional number, which is not adjusted by the offset.

For example:

DateTime.new(2001,2,3,4,5,6,'+7').ajd     #=> (11769328217/4800)
DateTime.new(2001,2,2,14,5,6,'-7').ajd    #=> (11769328217/4800)
Show source
Register or log in to add new notes.