amjd

d.amjd รข rational
Instance Public methods

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

DateTime.new(2001,2,3,4,5,6,'+7').amjd    #=> (249325817/4800)
DateTime.new(2001,2,2,14,5,6,'-7').amjd   #=> (249325817/4800)
doc_ruby_on_rails
2015-04-02 12:37:16
Comments
Leave a Comment

Please login to continue.