From: Joseph McDonald Date: 2001-06-30T05:30:25+09:00 Subject: [ruby-talk:17087] Re: [newbie] Time.now into 4 bytes mcccu> i would like to grab the current time into 4 bytes in an array. mcccu> trying lots of variations of: mcccu> Time.now.to_i.to_s.unpack() mcccu> but i'm getting nowhere. Does this work: [Time.now.to_i].pack("L") -joe