strtotime

From: Date: Wed, 09 Apr 2003 00:34:34 +0000
Subject: strtotime
Groups: php.general 
Request: Send a blank email to php-general+get-142980@lists.php.net to get a copy of this message
i know is possible to get the unix timestamp using strtotime, example: echo strtotime ("8 April 2002"); // outputs timestamp 1018249200 of last april, 8th 2002 But is it possible to leave the day out and just the month/year? something like: echo strtotime ("April 2002"); is there another method of getting the timestamp of just the month/year specified? cheers, - Sebastian

« previous php.general (#142980) next »