t = Time.nowsun = t - t.wday * 24 * 60 * 60puts "#{t} --> #{sun}"
Standard input is empty
2012-05-08 07:05:37 +0000 --> 2012-05-06 07:05:37 +0000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!