try it like this: date = DateTime.civil(y=from_year, m=from_month, d=from_month, min=from_time.min, s=from_time.sec, of=0)
here is the according ruby-api: http://www.ruby-doc.org/core/classes/DateTime.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

