• You are not logged in. | Login

Post a reply

January 16, 2007 10:05 am

tucansam
Member
Ranks

Help me with time please

Why using the following code

<? 
  $light =  mktime (5, 0, 0, date("m"), date("d"), date("Y"));  
  print(date("Y-m-d H:m:s", $light)); 
?>

php prints

2006-11-10 05:11 :00

i expected to see as follows:

2006-11-10 05:00 :00


 

 

January 16, 2007 10:07 am

steven9x
Member
Ranks

Re: Help me with time please

smile  minutes are i

<? 
  $light =  mktime (5, 0, 0, date("m"), date("d"), date("Y"));  
  print(date("Y-m-d H:i:s", $light)); 
?>

 

 

January 16, 2007 10:08 am

tucansam
Member
Ranks

Re: Help me with time please

thatn u very much


 

 
  • Actions
  • Top
ITCrimea. Ukraine Web Development Company. Professional Developers and Web Designers Team
Custom Web Designs, Internet Applications, E-Commerce Websites, Interactive Sites, Database-Driven Sites and Services