##Qtime.sub(Time.new(2014,10,1), Time.new(2014,9,1))
=> 2592000
###-
Time.new - 1.days => 2014-09-14 11:53:08 +0800
###normal_parse
Time.new.strftime("%Y-%m-%d %H:%M:%S")
###to_day
Time.new.to_day => "20140915"
Time.new.to_day("line") => "2014-09-15"
Time.new.to_day("solidus") => "2014/09/15"
if you have any questions or suggestions, please connect me
mike.gao0611#gmail.com