geniuscrew
09-08-2002, 03:58 PM
Hi I need help with times -
I have a table which contains records. I also have an "airdate" field.
In the field goes a date and a time.
I would like to know how to display the records based on the date today.
I think it involves comparing todays date with the value in the field but I'm not sure
Edited to add: I also would like to know how to display GMT time in the format
$today = date("F j, Y, g:i a");
- this isn't the server time however, the server is EST.
Thanx!
I have a table which contains records. I also have an "airdate" field.
In the field goes a date and a time.
I would like to know how to display the records based on the date today.
I think it involves comparing todays date with the value in the field but I'm not sure
Edited to add: I also would like to know how to display GMT time in the format
$today = date("F j, Y, g:i a");
- this isn't the server time however, the server is EST.
Thanx!