search for: day_time

Displaying 2 results from an estimated 2 matches for "day_time".

Did you mean: say_time
2012 Feb 29
1
can't convert Fixnum into String in relativity
...e a test file and build it gives me an error =test.rb= <pre> require ''relativity'' opens_at = DayTime.new(9) #=> 09:00:00 closes_at = DayTime.new(12,30) #=> 12:30:00 </pre> <pre> /home/start/.rvm/gems/ruby-1.9.2-p290/gems/relativity-0.0.8/lib/ relativity/day_time/new.rb:24:in `BigDecimal'': can''t convert Fixnum into String (TypeError) from /home/start/.rvm/gems/ruby-1.9.2-p290/gems/relativity-0.0.8/lib/ relativity/day_time/new.rb:24:in `initialize'' from /home/start/Aptana Studio 3 Workspace/jquery/javascript/test.rb: 2:in `new...
2011 Nov 15
2
Extract pattern from string
Hello, with Sys.time() you get the following string: "2011-11-15 16:25:55 GMT" How can I extract the following substrings: year <- 2011 month <- 11 day_time <- 15_16_25_55 Cheers, Syrvn -- View this message in context: http://r.789695.n4.nabble.com/Extract-pattern-from-string-tp4073432p4073432.html Sent from the R help mailing list archive at Nabble.com.