> 2001年9月1日から2017年3月31日まで何年と何ヶ月あるか > みたいなのを簡単に算出する方法ショウキ(;´Д`) $ret = strtotime("2017/03/31")-strtotime("2001/09/01") 参考:2006/06/29(木)00時34分40秒