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

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

Send inserts to mysql thru port 80
Hi!

I have an application that must do some inserts in a mysql db. This db is behind a firewa

Sequencing or queuing parallel process
Scenario is as follows
There is one parent process say P1 and 4 child processes say A B C D

Creating a custom API
I'm creating a site, and I need to create a basic API. Unfortunately I have no idea where to start.

type check while uploading
Hi Everyone,

How can I check the exact type of a file while uploading on my site?

Here

Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming

how to populate a drop down box
Hi buddies!

PROCEDURE DOWNLOAD_REPORT_FORM (report_name varchar) is begin DOWNLO

Redirect not working after making a POST/GET
Hi Everyone,

I am a novice in PHP. Here I have 2 pages, one page with a textbox and button an

How to replace search button with link?
hi to everbody.
i have a search submit form and button like this :

<form id="f

Stopped working!
So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did

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