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

2009年 January
« Dec    
 1234
567891011
12131415161718
19202122232425
262728293031  

Status

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