Welcome to Dream.In.Code
Become a PHP Expert!

Join 137,427 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,888 people online right now. Registration is fast and FREE... Join Now!




Extract Server time

 
Reply to this topicStart new topic

Extract Server time

priti
16 Jan, 2008 - 12:07 AM
Post #1

New D.I.C Head
*

Joined: 26 Oct, 2007
Posts: 8


My Contributions
Hi,
I need to extract the Server time and display it on my web page. Is there any function for it? If there is then do let me know.

Thank you in advance.
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Extract Server Time
16 Jan, 2008 - 12:44 AM
Post #2

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 3,935



Thanked: 34 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Being a php n00b I'm not sure but you could use the $_SERVER['REQUEST_TIME'] variable.

It returns the time at which the request was made.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/5/08 04:47AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month