jQueryのプラグイン「jquery.timeago.js」を使います。 timeago: a jQuery pluginから jquery.timeago.js jQueryからjquery.jsをそれぞれダウンロードしましょう。 <script type="text/javascript" src="jquery-1.3.2.js"></script> <script type="text/javascript" src="jquery.timeago.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('abbr.timeago').timeago(); }); </script> で準備オッケー。 あとは表示させたい箇所に下記を記述です。 <abbr title="2010-0