Log In
Sign Up
Why Join Hot Scripts?
Hot Scripts
All Categories
PHP
Python
Tools & Utilities
XML
Ruby on Rails
Ajax
Web Hosting
ASP
ASP.NET
C & C++
CFML
Flash
Java
JavaScript
CGI & Perl
HTML5
Forums
Blog
Scripts
Hosted Apps
Plugins
Design Templates
Forum
Blog
Advertise
Contact Us
Register
FAQ
Rules
Calendar
Search
Today's Posts
Mark Forums Read
RSS Feeds
Current location:
Hot Scripts Forums
»
General Web Coding
»
HTML/XHTML/XML
» Grabbing web server time via code
Grabbing web server time via code
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
09-07-09, 12:35 PM
Terrum
Newbie Coder
Join Date: Sep 2009
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Grabbing web server time via code
I heard that you can't grab the server time via HTML. But you can with SSI? Or something like that. I'm not really talented with this stuff but what's the best way to grab the server time and date (or just time) and print it on a webpage? Thanks.
Terrum
View Public Profile
Find all posts by Terrum
#
2
(
permalink
)
09-07-09, 01:44 PM
wirehopper
-
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Apache Tutorial: Introduction to Server Side Includes
Be sure to name the file .shtml
wirehopper
View Public Profile
Find all posts by wirehopper
#
3
(
permalink
)
09-09-09, 08:53 PM
ruteckycs
Coding Addict
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
<?php
echo date('l jS \of F Y h:i:s A');
?>
ruteckycs
View Public Profile
Visit ruteckycs's homepage!
Find all posts by ruteckycs
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Twitter XML parsing only display 4 items...
|
how to make swf playable with web flv player ?
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General Community
Announcements
Polls
The Lounge
New Members & Introductions
Script Requests
HotScripts.com Discussion
Hot Scripts Forum Questions, Suggestions and Feedback
General HotScripts Site Discussion
HotScripts Site Bug Reports
General Web Coding
HTML/XHTML/XML
HTML5
JavaScript
CSS
Flash & ActionScript
Programming Languages
PHP
Perl
ASP
ASP.NET
C/C++
Visual Basic
Windows .NET Programming
Everything Java
Other Languages
Other Discussions
Web Servers
Database
Other Topics
Web Design
API
Frameworks
AJAX
Security
Server Administration
Portable Device Programming
Cloud Computing
Ruby on Rails
CFML
Python
Tools and Utilities
Remotely Hosted
Web Hosting
Advertising Forums
General Advertisements
Job Offers & Assistance
Traffic Exchange
Website Reviews
Web Hosting Talk
DBForums.com
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Show Advanced User how to Configure Fedora Core 10 Web Server
usallsys
Job Offers & Assistance
2
02-17-09
02:25 AM
Outsourcing web design to Bulgaria - Marin Todorov
gal_flower
Job Offers & Assistance
4
02-14-06
08:05 PM
Need redirection based on server local time
jose luis
Script Requests
4
11-07-05
01:41 AM
cPanel/Fantastico/RVSkin Web Hosting starting at ONLY $3.95 /mo - FREE SETUP!
WireNine.com
General Advertisements
0
10-26-05
04:39 PM
Contest - Design The World's Worst Web Page
snaip
Announcements
1
02-08-05
09:09 AM
All times are GMT -5. The time now is
09:07 PM
.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Share on Facebook
Share on Stumble Upon
Share on Twitter