note 63961 added to function.date
| From: | aamier at gmail dot com | Date: | Tue, 04 Apr 2006 17:15:18 +0000 |
| Subject: | note 63961 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107304@lists.php.net to get a copy of this message | ||
hello All
i was wandering id you could help me
i have this drop down menu
<select name="cdate" id="cdate"
onchange="changedate()">
<option>Date</option>
<option value="n">No date</option>
<option value="a">2nd April 2006</option>
<option value="b">2 April 2006</option>
<option value="c">2nd Apr 2006</option>
<option value="d">2 Apr 2006</option>
<option value="e">02/04/2006</option>
<option value="f">2nd April 06</option>
<option value="g">2 April 06</option>
<option value="h">2nd Apr 06</option>
<option value="i">2 Apr 06</option>
<option value="j">02/04/06</option>
<option value="k">2nd April</option>
<option value="l">2 April</option>
<option value="m">2nd Apr</option>
<option value="o">2 Apr</option>
<option value="p">02/04</option>
</select>
can i make it change the date dynamic, so when its todys date it will show it in the drop down list
in the above format.
at the moment if you click on the options above it will show the date on the format for example 2nd
Apr 2006 it will show 4th april 2006, so it works but it displays the 2nd instead as i started the
application on than.
any ideas
thanks
----
Server IP: 84.18.202.180
Probable Submitter: 62.254.64.12 (proxied: 82.16.85.176)
----
X-Spam-Status: No, hits=4.2 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_40_50,HTML_MESSAGE autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/note/edit/63961
Del: integrated -- http://master.php.net/note/delete/63961/integrated
Del: useless -- http://master.php.net/note/delete/63961/useless
Del: bad code -- http://master.php.net/note/delete/63961/bad+code
Del: spam -- http://master.php.net/note/delete/63961/spam
Del: non-english -- http://master.php.net/note/delete/63961/non-english
Del: in docs -- http://master.php.net/note/delete/63961/in+docs
Del: other reasons-- http://master.php.net/note/delete/63961
Reject -- http://master.php.net/note/reject/63961
Search -- http://master.php.net/manage/user-notes.php