At 15:36 29-3-2001 -0600, you wrote: >Howdy all. I am trying to get the unix timestamp for a certain day in the >future. Date and times are not my strong points. I have teh date >stored in MySQL in 2001-04-30 12:00:00 format. > >Can anyone show me some php code that will do this? You can use the function strtotime(). See http://www.php.net/manual/en/function.strtotime.php Also read the user-contributed notes, it mentions MySQL's own UNIX_TIMESTAMP, which converts internal dates to Unix timestamp. Bye, Edwin Martin. -- Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/