IT Community - Software Programming, Web Development and Technical Support

How can I set the time zone for MySQL to UK time?

This is a discussion on How can I set the time zone for MySQL to UK time? within the PHP Programming forums, part of the Web Development category; Hi all.... Can anyone tell me, How can I set the time zone for MySQL to UK time? Thanks in ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-12-2007, 12:22 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 547
itbarota is on a distinguished road
Default How can I set the time zone for MySQL to UK time?

Hi all....

Can anyone tell me, How can I set the time zone for MySQL to UK time?

Thanks in advance.......
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-12-2007, 01:13 AM
sans sans is offline
D-Web Programmer
 
Join Date: Apr 2007
Posts: 63
sans is on a distinguished road
Default Re: How can I set the time zone for MySQL to UK time?

Hi all.....

To generate a random number between 0 and 100 do this:

srand((double)microtime()*1000000);
echo rand(0,100);

Read more in the php manual:
PHP: rand - Manual
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
show clocks, one showing the current time, and another showing a time 12 hours behind itbarota HTML, CSS and Javascript Coding Techniques 1 02-13-2008 10:15 PM
How to set time for cookie in ASP.NET? jeyaprakash.c ASP and ASP.NET Programming 9 01-16-2008 10:52 PM
Relation between process system time, process waiting time vigneshgets Operating Systems 0 08-01-2007 12:57 AM
How would you determine the time zone under which a database was operating? Sabari Database Support 2 07-19-2007 05:11 AM
Diff between Transaction-time and Server response-time vadivelanvaidyanathan Software Testing 0 03-21-2007 07:29 AM


All times are GMT -7. The time now is 03:50 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0