From: Yukihiro Matsumoto Date: 2010-03-11T23:32:10+09:00 Subject: [ruby-core:28612] Re: [Bug #2952] Time.strftime format %N Hi, In message "Re: [ruby-core:28606] [Bug #2952] Time.strftime format %N" on Thu, 11 Mar 2010 17:42:55 +0900, Russell Penney writes: |t = Time.at(1236922275, 8516) |puts t.strftime("%s.%6N") | |it prints |1236922275.008516 |which is wrong. It should be 1236922275.851600 It's caused by Ruby compiled by certain version of GCC, try upgrade the compiler. matz.