# Re: DateTime and speed question

**URL:** <https://www.ruby-forum.com/t/re-datetime-and-speed-question/67335>\
**Category:** Ruby\
**Created:** [February 13, 2006, 8:43pm UTC](https://www.ruby-forum.com/t/re-datetime-and-speed-question/67335 "2006-02-13T20:43:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beachguy82](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9dc877/32.png) [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Post date:** [February 13, 2006, 8:43pm UTC](https://www.ruby-forum.com/t/re-datetime-and-speed-question/67335/1 "2006-02-13T20:43:18Z")

</div>

I recieve the following error at home and at work

irb(main):001:0\> ri Time.parse  
NoMethodError: undefined method `parse’ for Time:Class  
from (irb):1

On Tue, 2006-02-14 at 04:24 +0900, Mike F. wrote:

> Charlie B. wrote:
> 
> > The Time class doesn’t appear to have any methods to parse a string  
> > into
> 
> > a time object or to find the difference of two times. How can this  
> > be

---

<div class="post-metadata">

**Author:** ![beachguy82](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9dc877/32.png) [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Post date:** [February 13, 2006, 8:47pm UTC](https://www.ruby-forum.com/t/re-datetime-and-speed-question/67335/2 "2006-02-13T20:47:38Z")

</div>

On Feb 13, 2006, at 1:42 PM, Charlie B. wrote:

> I recieve the following error at home and at work
> 
> irb(main):001:0\> ri Time.parse  
> NoMethodError: undefined method `parse’ for Time:Class  
> from (irb):1

Start irb with -r time as was shown with the example, or require  
“time” once it is running.

James Edward G. II
