Re: [PHP] subtract dates

2006-03-01 Thread tedd
Benjamin: I'm trying subtract to dates the user enters in and get the days between. Dates are stored as date('mdY') is there a built in function to subtract to dates is this format? Try this for starters: There are other examples at: http://www.weberdev.com/get_example-3646.html http://w

Re: [PHP] subtract dates

2006-03-01 Thread tedd
Benjamin: I'm trying subtract to dates the user enters in and get the days between. Dates are stored as date('mdY') is there a built in function to subtract to dates is this format? Try this for starters: There are other examples at: http://www.weberdev.com/get_example-3646.html http://w

Re: [PHP] subtract dates

2006-03-01 Thread John Nichel
Benjamin Adams wrote: I'm trying subtract to dates the user enters in and get the days between. Dates are stored as date('mdY') is there a built in function to subtract to dates is this format? Thanks Built in, not that I'm aware of. However, if you're the one storing the dates, you could s

[PHP] subtract dates

2006-03-01 Thread Benjamin Adams
I'm trying subtract to dates the user enters in and get the days between. Dates are stored as date('mdY') is there a built in function to subtract to dates is this format? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php