Flowdock
amjd() public

Returns the astronomical modified 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').amjd    #=> (249325817/4800)
DateTime.new(2001,2,2,14,5,6,'-7').amjd   #=> (249325817/4800)
Show source
Register or log in to add new notes.