How do I convert an integer to a time and date? Specifically, given:
t = File.mtime(x).to_i
I want to be able to:
How do you define the method to_time? Doesn’t seem to be any built-ins, even though I find that odd. Nothing in class Integer, Float, or Fixnum - and nothing in ParseDate about “seconds since epoch” or integers and such.
CUNA & Affiliates
UNIX Systems Administrator