Developer forum

Forum » Templates » Output date today

Output date today


Reply

Is it posible to write "Today is DD-MM-YYYY" on a page?

I have tried to use the tag "@Global.Server.Date" but there is no output.

 

Michael


Replies

 
Nicolai Høeg Pedersen
Reply
ms@sp3.dk wrote:

Is it posible to write "Today is DD-MM-YYYY" on a page?

I have tried to use the tag "@Global.Server.Date" but there is no output.

 

Michael

Hi Michael
 

 

The tag you mention works fine in my test site - please try again and if it does not work, please provide a link in a helpdesk case. If this is a solution hosted in other places than Hostnordic, make sure its has the update package from february.

 

The tag has some extensions for different formats - see them here.

http://template.dynamicweb.dk/TemplateTags/Dynamicweb-template-tags/General-tags/Global-template-tags/Global.Server.Date.aspx

 

The format is controled by regional settings in the Frontpage or Language/Area module.

 
Reply

The first . must be replaced with :

Now it's working. I copied the tag from http://template.dynamicweb.dk/TemplateTags/Dynamicweb-template-tags/General-tags/Global-template-tags.aspx where it is misspelled. All other tags start with "@Global:"

 

Michael

 
Nicolai Høeg Pedersen
Reply

Sorry...

 

Has been fixed!

 

You must be logged in to post in the forum