Great. To solve my problem, use DateTime. But BSON in Ruby (for MongoDB) doesn't support DateTime! ARGH!