title: Changing PHP variable as compared to Local Time
body: <p>I Want to change the contect of $time variable.
  as the local time changes
  Like If </p>
  
  <pre><code>The localtime is Between 9-10am then $time="10:00 - 10:59"
  The localtime is Between 10am-11am then $time="11:00 - 10:59"
  The localtime is Between 11am-12pm then $time="12:00 - 12:59"
  The localtime is Between 12pm-1pm then $time="13:00 - 13:59"
  </code></pre>
  
  <p>&amp; Soo On.!!</p>
  
  <p>For this i Can created a Mysql table name as Time &amp; Have added the value.
  &amp; fetching the value in variable $time.</p>
  
  <p>Now Have 24 Hours Cron Jobs &amp; a 24 PHP script to change the value of That sql.
  &amp; add the cron  of 24 files on different time to change the value.
  But its Too Big Task.</p>
  
  <p>Any One Knows Any Short &amp; Cute Method to apply the different vales in the variabe Only Using PHP.
  :)
  Thankx In advance..</p>