fork download
  1. t = Time.now
  2. sun = t - t.wday * 24 * 60 * 60
  3. puts "#{t} --> #{sun}"
  4.  
Success #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
2012-05-08 07:05:37 +0000 --> 2012-05-06 07:05:37 +0000