Documentation for method
daycount assembled from the following types:
method daycount(Dateish: --> Int)
Returns the number of days from the epoch Nov. 17, 1858 to the day of the invocant. The daycount returned by this method is the MJD, i.e. the Modified Julian Day, which is used routinely by e.g. astronomers, geodesists, scientists and others. The MJD convention is designed to facilitate simplified chronological calculations.
say Date.new('1995-09-27').daycount; # OUTPUT: «49987␤»