Re: Need help bad, select element of form using time
| From: | Tom Mathews | Date: | Mon, 19 Mar 2001 11:03:14 +0000 |
| Subject: | Re: Need help bad, select element of form using time | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6134@lists.php.net to get a copy of this message | ||
Don't know what your problem is?
You can get the current time using the time() function - loads of formatting
options to output it as you require. To get 15 minute intervals, just put
the SELECT for your form element in a while loop.
If your problem is which locale you are in, then that's another story - look
in the archives of this list over the last couple of weeks for some answers
on that one,
Tom
Zachary Harris wrote:
> I have a project that a I am working on and have come across a major
> snafu. It is my first time using PHP for a project and I have been
> asked for a form element wherein the user can select a time based on 15
> minute increments for the next 6 hours. Unfortunately, it doesn't seem
> like the time parts of PHP are as robust as VBScript/ASP (don't hit me)
> and this thing has me stumped.
>
> Any and all help would be greatly appreciated.
>
> Please email me at my address.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net