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

Login Script Issues
I am using a script I got from http://phpsense.com/php/php-login-script.html in order to allow peopl

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

Final year project, please point me in the right direction
hi there for my final year project I'm aiming to build a php script shell to use as an expert system

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

downloading a file as HTML
Hi.
I'm rather confused with forcing a download. I just want to save dynamic content (from $_SESS

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

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

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...

I've found out that I nee

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