From: Eric Marthinsen Date: 2008-09-28T12:50:13+09:00 Subject: Parsing a time span Hello- I'm trying to find the best way to turn a string like "3 days" or "72 hours" into some sort of time span representation. My first question is what is the best way to store a duration like this? In seconds? Second, are there any good tools for parsing a string like this? I'm aware of the Duration library, but the author doesn't consider it stable, so I'd prefer something stable and supported. Thanks in advance. Regards- Eric -- Posted via http://www.ruby-forum.com/.