Time script, set to my time zone?


Posted on 16th Feb 2014 07:03 pm by admin

I am using this line to get the date and time

Code: $time = date(F." ".d.", ".Y." ".g.":".i.":".sa,time());
How could I change this to my time zone here in California, USA?

No comments posted yet

Your Answer:

Login to answer
248 Like 31 Dislike
Previous forums Next forums
Other forums

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

How to Detect it is public_html or httpdocs?
How to check whether it is cPanel or Plesk?

If it found public_html perform <?php incl

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

Good Programming and Web Design Books
Hi,

I recived a pm today from a fellow phpfreaker regarding php books, i replied with the fo

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

How to pass parameter to tag query?
Hi,
I want to get the value of a tag at a specific time (like 10/27/09 15:29:59), I need to giv

Timer control causing error
I recently decided to add a timer control to an existing page that uses AJAX on my site. As soon as

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash