Rewrite english dateformat to another dateformat
I would like a tutorial that can explain how to change the dateformat from english date ex. 1/1/03 to swedish ex 03-01-01
I would like a tutorial that can explain how to change the dateformat from english date ex. 1/1/03 to swedish ex 03-01-01
Comments
How to format to Swedish date format
If you can run a global.asa file on your server then place the following into your global.asa file to change the locale settings throughout your site:
<%
'When a session starts on the server the following code will be run
Sub Session_OnStart
'Set the server locale
Session.LCID = 1053
End Sub
%>
If you can not use a global.asa file, place following into the top of each ASP page you wish to change the locale settings on:
<%
'Set the server locale
Session.LCID = 1053
%>
Let me know how you make out
Thanks
Bryan Hornung
www.xactdesign.com
You must me logged in to write a comment.