Developer forum

Forum » CMS - Standard features » Calendar Format in Item Page.

Calendar Format in Item Page.

Yasharth Tahiliani
Reply

Hi, 

I have put some date fields in an Item Type. 

We have received a request from our client asking if we could possibly change the calendar format from the American format to the format used in the UK (date/month/year).

Is this possible?

Thanks and Regards,

Yash.


Replies

 
Nicolai Høeg Pedersen
Reply

Hi

On the website properties (http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Modules/Websites/Module-setup.aspx) you can change the regional settings that controls the formats of dates, numbers and other regional information.

You can also use Date/Time template tag extensions: http://templates.dynamicweb.com/TemplateTags/Dynamicweb-template-tags/General-tags/Date/time-tag-extensions.aspx

If your template is Razor, you can also use DateTime format strings: https://msdn.microsoft.com/en-us/library/8kb3ddd4%28v=vs.110%29.aspx

BR Nicolai

 

You must be logged in to post in the forum