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

a multi dimensional array with for each
hi, I have been asked to write an array, I have Zone 2,3,4,5,6,7,8 each zone has 3 sections of weigh

values in array being escaped
I would like to submit some values - back to the same form for checking before processing...

some query on multilingual website
Hi all,

Which is the simplest and easiest method to make a website multilingual,
is it put

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

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