now(sg=ITALY)
public
Create a new DateTime object representing the current time.
sg specifies the Day of Calendar Reform.
# File lib/date.rb, line 1816
def self.now(sg=ITALY)
t = Time.now
jd = civil_to_jd(t.year, t.mon, t.mday, sg)
fr = time_to_day_fraction(t.hour, t.min, [t.sec, 59].min) +
Rational(t.subsec, 86400)
of = Rational(t.utc_offset, 86400)
new!(jd_to_ajd(jd, fr, of), of, sg)
end