how to set timezone default to america/los_angeles

  • Freepls
  • Born
  • Born
  • Freepls
  • Posts: 1

Post 3+ Months Ago

i know u can change it with php for a page by page basis, but i also know u can change it in the ini file(set the default timezone)
but well i dont know how to do the ini file and im not sure if its allowed on freehosting but well..
can someone let me know if its allowed? or
how to make it so that whoever is viewing my site (the time is in their timezone for them)
sees the right time it is there.
I use Free hosting at http:/*myplus. org
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Code: [ Select ]
<?php
date_default_timezone_set("America/Los_Angeles");
<?
  1. <?php
  2. date_default_timezone_set("America/Los_Angeles");
  3. <?


Is this what you're looking for?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.