How to... time format?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
jolupa
-


Joined: 08 May 2003
Posts: 6
Location: Spain

PostPosted: Wed Jul 02, 2003 1:01 am    Post subject: How to... time format? Reply with quote

Hi. :D.

I have an HTML form page. In this form page i have a text, not editable, that shows the current date in this format (dd-mm-yyyy).

My question is: There's a way to put the date, in the format shown above, without PHP or ASP programation.

This is the only thing that need to be programmed in the that page, and i dont want to make all the page in PHP, cause i'm using a template system, and i dont want this page in HTML.

Thank u everyone. :roll:
Back to top View user's profile Send private message Yahoo Messenger
Gatewayy
-


Joined: 15 Mar 2003
Posts: 109

PostPosted: Wed Jul 02, 2003 1:35 pm    Post subject: Reply with quote

save your page as .php maybe?
_________________
-=Gatewayy=-

My Abyss site!

http://crashhappy.gatewayy.net
Back to top View user's profile Send private message Send e-mail
jolupa
-


Joined: 08 May 2003
Posts: 6
Location: Spain

PostPosted: Wed Jul 02, 2003 11:45 pm    Post subject: Reply with quote

Well.

I want to see i want to save the page in HTML without entering in programing some lines in PHP or ASP.

:)
Back to top View user's profile Send private message Yahoo Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Jul 03, 2003 1:05 pm    Post subject: Re: How to... time format? Reply with quote

You can use SSI processing.
Insert in your HTML code the following code:
Code:

<!-- #echo var="DATE_LOCAL" -->

Change the extension of the file to shtml instead of html of htm . Browse the page now and you'll see that the date is displayed automatically.
You can play with the date format using other SSI directives. For more information, see the "Server Side includes" chapter in the user's guide.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group