Flowdock
mjd() public

Returns the modified Julian day number. This is a whole number, which is adjusted by the offset as the local time.

For example:

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