Ruby / Rails: convert int to time OR get time from integer? November 27, 2022 by Tarik Use Time.at: t = Time.at(i)