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

HTML Form Server Side Validation
Hi, Im new here, im currently doing a website for a friend, and I have designed using snippets from

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

session variable problem
Session variable is not working in Fire fox i am getting null value but it is working fine in IE.

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

some questions
Hello,

I am looking for the answers for following questions:

1) Does PHP support overl

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

MySQL Primary key gap
Alright, so I have a table with 26 entries in it (id, filename, caption) for my image randomiser (ht

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

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