timestamp question

From: Date: Thu, 10 Aug 2000 16:43:00 +0000
Subject: timestamp question
Groups: php.general 
Request: Send a blank email to php-general+get-11180@lists.php.net to get a copy of this message
Hello everyone-- Thanks for the help with the calendar function stuff I just asked. Now here's a question for everyone, but let me explain it first. Here's some code to help out. $timestamp = time(); $month = date("n", $timestamp); Okay this get's you the month as a number (i.e. 8). What I want to do is reverse this process. I want to start off with the $month = 8; and then get a $timestamp. Does anyone know if and how you can do this? $month = 8; $timestamp = time($month); //???? this isn't how you do this //but I don't have a clue how you would do it... Thanks, Jay Paulson

« previous php.general (#11180) next »