Cloud Nine

Avatar

This blog is my everything!!

Jun
25
PHPで日付の比較
Jun 25, 2008 0

mktimeを使います。

$day1 = ‘2008/2/1′;
$day2 = ‘2008/2/15′;

if(mktime($start)>mktime($end)){$end = “error”;}

,

Advertisings

Search Keyword

Calendar

2008年 June
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Status

フィードメーター - Cloud  Nine あわせて読みたいブログパーツ