comparing dates - Mailing list pgsql-php

From Joseph Syjuco
Subject comparing dates
Date
Msg-id 1025901211.1846.73.camel@Askr
Whole thread Raw
Responses Re: comparing dates
Re: comparing dates
List pgsql-php
how do i compare the current date to a date field in my database
e.g.
$current_date = date('Y=m-d');
$dbdate = pg_result($rsdate,0,"exam_date");
if ($current_date>$dbdate) --THIS PART DOESNT WORK
    echo "Today is not your exam date";
TIA





pgsql-php by date:

Previous
From: Marcelo Pereira
Date:
Subject: Re: SQL query to a file
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: comparing dates