Hi Newb newb
use @date.strftime("%B %d, %Y")
to display only date no time.
and in table insert September 30, 2009 03:08 PM
Newb Newb wrote:
> Brijesh Shah wrote:
>> just remove :time option from the syntax..
>
> thanks for the reply...
> actually i need time and date aswell .
> but i want to split the date and time ..
> how can i do it
>
> September 30, 2009 03:08 PM
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---