Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Dates question ...

Quote Reply
Dates question ...
I have code to get records from the past 30 days:

Code:
<a href="$db_script_link_url&date_exp-gt=$expiredays&sb=LastName&so=asc&view_records=1">New Profiles (Past 30 days)</a><br>

along with:

Code:
$expdays = 30;

$expiredays = &get_date(time() - ($expdays * 86400));

How would I change this to look ahead in time 30 days?

Thanks !
--------------------------
donm

Last edited by:

donm: Nov 24, 2001, 6:28 PM
Post deleted by donm In reply to
Quote Reply
Re: [donm] Dates question ... In reply to
I tried to delete the above post - but could not. I figured out a different way to accomplish what I needed.

This and the above post can be deleted.

Thanks !
--------------------------
donm