class Numeric

def in_milliseconds

1.hour.in_milliseconds # => 3600000
2.in_milliseconds # => 2000

Used with the standard time durations.
Returns the number of milliseconds equivalent to the seconds provided.
def in_milliseconds
  self * 1000
end