Thank you all for your help and immedate responses.
The following worked:
$current_time = date("h:ia", mktime(0,780));
Thank ye all again :)
--- John Holcomb <[EMAIL PROTECTED]> wrote:
> Hello and thank you.
> I'm trying to find a function(method) or existing
> code taht takes the number of minutes that have
> in a day and returns the time of the day. For
> 780 minutes == 1pm,
> 0 minutes == 12am,
> so I'm looking for code that when you enter the
> of minutes, it returns the time of day.
> $some_time = foo(780);
> //prints 1:00pm
> Thnaks again.
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]