Im a little confuse with this particular function 'date()' Its a serverside time or it takes the time of the client computer?
See its shows a time that in anymeans is my current time but still when i change my pc time it also change
centenond
5
Junior Poster
Recommended Answers
Jump to PostPerhaps this helps point you in the right direction (specifically the topic labeled 'Runtime Configuration' defined in the php.ini file)?
http://www.w3schools.com/php/php_ref_date.asp
Jump to PostThe us2.php.net link I provided mentions something about the "TZ environment variable". It's possible this can be "...specified by the operating system using system wide or user specific shell profile file" (linux). I'm not sure if the same idea applies to windows/IBM, but would imagine so.
All 6 Replies
PsychicTide
42
Junior Poster
centenond
5
Junior Poster
PsychicTide
42
Junior Poster

Budy_1
centenond
5
Junior Poster
PsychicTide
42
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.