Hi, I was wondering if there are any Guru's out there that can help me, I have set up IIS on a machine at work to run some intranet pages however I find that the dates when shown in the browser are in US format even though the lacale settings are set to UK. I have browsed the web and found the following code:
However being a complete novice I have no way of knowing wher this code needs to be placed in order for it to work.
I have found a workaround at the moment but it involves putting the following code at the top of my ASP pages
however this means that I have to remember to put it in all pages that use dates & times, I would really like to set up IIS so that i do not have to do this every time.
Any help would be appreciated
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Regards
Paul
Code:
sub session_onStart() session.lcid = 2057 ' Set locale to United Kingdom
end sub
However being a complete novice I have no way of knowing wher this code needs to be placed in order for it to work.
I have found a workaround at the moment but it involves putting the following code at the top of my ASP pages
Code:
<%
'Set the server locale
Session.LCID = 2057
%>
however this means that I have to remember to put it in all pages that use dates & times, I would really like to set up IIS so that i do not have to do this every time.
Any help would be appreciated
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Regards
Paul