开发者

handling BC dates in Ruby on Rails

I'm planning to make an application that needs to store dates way before 1970. Maybe even BC dates. Do you think I should store and handle that ma开发者_开发百科nually or can I use the Date/Time classes in Rails or use some plugin?

Thanks,

Tam


1970 won't present a problem, nor will BC.

>> Date.today - 3000.years
=> Mon, 27 Dec -0991

Is there something more specific that you're trying to do?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜