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

values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a data

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

Warning: Cannot modify header information - headers already sent by (output sta
Warning: Cannot modify header information - headers already sent by (output started at /home/praylif

Count
Getting the same count everytime

Code:
$visitquery = mysql_query("SELECT COUNT(*) FR

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Customizing message/behavior
Hi,I'm using the ASP.NET membership/authorization controls in my application. Some parts of my appli

convert static html data into dynamic
hi all

i need to convert a website which has static above 2000 articles into dynamic and add

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

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