PHPで日付の比較
Jun 25, 2008AD:
mktimeを使います。
$day1 = ‘2008/2/1’;
$day2 = ‘2008/2/15’;
if(mktime($start)>mktime($end)){$end = “error”;}
AD:
mktimeを使います。
$day1 = ‘2008/2/1’;
$day2 = ‘2008/2/15’;
if(mktime($start)>mktime($end)){$end = “error”;}
Sorry. No data so far.
No Comments, Comment or Ping
Reply to “PHPで日付の比較”
Warning: Undefined variable $user_ID in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/themes/grid_focus_public_mizo/comments.php on line 66
You must be logged in to post a comment.