Have you tried :

require 'active_support/time'
Time.parse('2015-07-15')

Att,
Fernando

On Wed, Jul 15, 2015 at 9:06 AM, VIDYA SAGAR POGIRI <
[email protected]> wrote:

> Hi i want to convert my string into date using ruby
>
> Jun 28 2015 to 06/28/2015. Can you help
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/14e9b8f6-caf6-4578-9f32-bdb8d6360d88%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/14e9b8f6-caf6-4578-9f32-bdb8d6360d88%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Fernando Kakimoto
http://www.twitter.com/nandokakimoto

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CALKwU8WzZGvX3GbRMq6b6e6eHemSzp-xqG37PC3FCTAFw4XwZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to