Jump to content


Photo

*SOLVED* how to get time


  • Please log in to reply
No replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 April 2006 - 05:58 PM

how do you get the time from the server and put it in the database

i need to no how to dispaly time as h:m:s using time()

advance thank you.

[!--quoteo(post=366519:date=Apr 19 2006, 05:52 PM:name=redarrow)--][div class=\'quotetop\']QUOTE(redarrow @ Apr 19 2006, 05:52 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
how do you get the time from the server and put it in the database

i need to no how to dispaly time as h:m:s using time()

advance thank you.
[/quote]
<?
$today=date("h:i:s");
echo $today;
?>

[!--sizeo:5--][span style=\"font-size:18pt;line-height:100%\"][!--/sizeo--]solved[!--sizec--][/span][!--/sizec--] sorry
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users