From: "Carlo E. Prelz" Date: 2012-12-19T05:01:26+09:00 Subject: Re: Convert unix time to 2012-12-18 18:59:22 (sample) Subject: Re: Convert unix time to 2012-12-18 18:59:22 (sample) Date: Wed 19 Dec 12 04:55:50AM +0900 Quoting robert lengu (lists@ruby-forum.com): > Ok i found one way > > puts Time.at(1355841956) > > but its gives > > Tue Dec 18 14:45:56 +0000 2012 > > but i want like thsi > > 2012-12-13 01:23:27 Look at ri Time#strftime for instructions about how to format time the exact way that you want. Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)