Hi All,

   I have a datetime. I want to change only date in that so that result
will another datetime with different time.

For ex:

=> I want to change Fri May 03 09:45:43 UTC 2013 to Wed Jul 03 09:45:43
UTC 2013

   Here date is changed from May 03 to Jul 03. I want the resulting
datetime to be of datetime class. Please let me how to implement it.

Thanks,

-- 
Posted via http://www.ruby-forum.com/.