RE: [PHP] Date ranges

From: Date: Mon, 24 Jan 2005 22:57:26 +0000
Subject: RE: [PHP] Date ranges
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207181@lists.php.net to get a copy of this message
>> >>I know that if I spent time on it, I would be able to do it, but I have >> >>A very close deadline and if anyone else has been through this I would >> >>*really* appreciate the help... >> > >> >Are you using MySQL? If so you can start with the DATE_ADD and DATE_SUB >> >functions. http://www.mysql.com/date Then RTFM >> >http://www.php.net/date, >> >spacifically http://www.php.net/mktime. With a >> >combination of the two >> >you can do all sorts of things. >> >> So you haven't been through this, and didn't bother to read what I said? >> Thanks! > >Perhaps you should have made it clear, something along the lines of: > >"I don't want to know how to do it for myself. I just want some ready to >use code, and I want it yesterday" Sorry, I thought that saying "I know that if I spent time on it I could do it myself, but I have a really close deadline and if anyone else has been through this I would *really* appreciate the help..." was fairly clear. Anyway, my apologies to Jay for being short and my thanks to Richard, whose code kinda worked and did save me some time. Mikey

« previous php.general (#207181) next »