From: mrp@... Date: 2001-06-30T05:25:23+09:00 Subject: [ruby-talk:17086] [newbie] Time.now into 4 bytes i would like to grab the current time into 4 bytes in an array. trying lots of variations of: Time.now.to_i.to_s.unpack() but i'm getting nowhere. i can do this by hand (bitmasks and shifts) but can anyone tell me a rubyer way of doing this ? thanks martin