Re: mktime() question

From: Date: Mon, 05 Aug 2002 05:37:17 +0000
Subject: Re: mktime() question
Groups: php.general 
Request: Send a blank email to php-general+get-111154@lists.php.net to get a copy of this message
>Good morning! > >I need to subtract months by their abbreviated month name, so shouldn't this >work? > >print(date("M", mktime(date("M")-$i)); > >and if I loop; > >Aug >Jul >Jun >May >........ Try it and see? Almost for sure you need 'm' on the second date(), though. You can't expect ('Aug' - 1) to be meaningful. -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#111154) next »