943,520 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 399
  • PHP RSS
Jun 20th, 2009
0

Regarding time

Expand Post »
In mysql database for date filed i'm using datatype as Timestamp in that field date part is updated as today's date but when comes to time it is updating as 09:00:00 like this instead of 15:00:00 and i'm using wamp.can anyone solve this problem.
Similar Threads
Reputation Points: 16
Solved Threads: 2
Light Poster
srilakshmitr7 is offline Offline
32 posts
since Aug 2008
Jun 20th, 2009
0

Re: Regarding time

i am not sure but i think the time the database uses is the system time of your computer... check if your time is adjusted in your local time in your country. If not, you can alternatively check the time using your language either PHP and compare it to the time from the database.. tell me the result afterwards.
Reputation Points: 7
Solved Threads: 1
Junior Poster in Training
it2051229 is offline Offline
82 posts
since May 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: mysqli instance and variable not declared
Next Thread in PHP Forum Timeline: Testing Thumnail Generation Service





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC