Cloud Nine

Avatar

This blog is my everything!!

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

mktimeを使います。

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

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

No Comments, Comment or Ping

Reply to “PHPで日付の比較”

Advertisings

Search Keyword

Calendar

2008年 November
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Status

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