i enter 2008 and it becomes 0008 irb(main):009:0> Date.parse("04-Feb-08").strftime('%Y-%m-%d') => "0008-02-04"