You can get the duration by subtracting one DateTime from another. You'll get DateTime objects from FasterCSV as long if you include the :date_time converter. For example:
FasterCSV.foreach(some_file, :converters => [:date_time]) do |row|
#blah
end
Or, you could just convert them yourself using DateTime#parse.
From there, you can use Date#day_fraction_to_time to get an array containing [hours, minutes, seconds, fraction_of_a_second]
, which I think is easier to work with than just the fraction of the day.
Depending on how you want to display them, there's probably information that will help you in the answers of this question. Those answers are for Rails, but you can always include the necessary parts from Rails, or just look at the source of the functions (available in the Rails documentation) to see how they do it. It's fairly self-explanatory.