Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 7 of 7

Thread: Date Format v8

  1. #1
    Fean0r is offline Senior Member
    Join Date
    Nov 2009
    Posts
    145

    Default Date Format v8

    Where can I change the date formatt to dd/mm/YYYY ?

    I've been looking through the appconfigs/manual with no joy our site is currently showing in an US format.
    Version: ML 8.0.1.2 and No Source Code.

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You would need to change the localization in the web.config (search for 'globalization') and in the database. Your host might have to assist with the second part.

    Code:
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
    ...would become something like

    Code:
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" uiCulture="en-GB" />
    (or whatever locale you're after)

  3. #3
    Fean0r is offline Senior Member
    Join Date
    Nov 2009
    Posts
    145

    Default

    Thanks Scott, you also mentioned in DB, what needs done there?
    Version: ML 8.0.1.2 and No Source Code.

  4. #4
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    You need to set the db to use the same date format as the application using the db. Because you will run into issues when the application tries to apply a datetime or get the datetime from the sql server. So you need to set the locale for the sql server. I think this article (http://support.microsoft.com/kb/173907) is probably what you will need.

  5. #5
    Fean0r is offline Senior Member
    Join Date
    Nov 2009
    Posts
    145

    Default

    I've noticed out SQL is still in US while the rest of our site is GB, will this cause any issues?

    Thanks
    Version: ML 8.0.1.2 and No Source Code.

  6. #6
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    That's not going to hurt anything really, but your times will be off. The dates/times will all be set on the SQL server.

  7. #7
    Fean0r is offline Senior Member
    Join Date
    Nov 2009
    Posts
    145

    Default

    Thanks for the info
    Version: ML 8.0.1.2 and No Source Code.