Method: Date#to_sxg

Defined in:
lib/new_base_60.rb

#to_sxgObject

Converts into a NewBase60 string.



76
77
78
# File 'lib/new_base_60.rb', line 76

def to_sxg
  (self - Date.parse("1970/01/01")).to_i.to_sxg
end