;;;The problem is when the date is greater then 12 then it shows the date in correct format i.e "dd/mm/yyy" else it shows the date in "mm/dd/yyyy".
I doubt this. The date being served is either dd/mm/yyyy or mm/dd/yyyy, I dont believe date figures can change or interact with formats.
Anyhow - I am in Aussie and have come accross this problem/solution more than once (on different OS's) What OS (IIS version) is your server?
Have a good read of this post:
http://p2p.wrox.com/topic.asp?TOPIC_...Cdate%2Cformat
The solution for OS < 2003 server is on page two (Registry change) - some useful date formatting functions one page one.
For 2003 IIS 6.0:
http://p2p.wrox.com/topic.asp?TOPIC_ID=30844
;;;I'm having problem with Session.LCID
Are you placing this code in your global.asa file?
If the global.asa is not in the root of your IIS default web site you need to make it a virtual directory
To avoid issues I run functions around all of my dates on all of my pages now. This way you will always show your intended format no matter what the servers settings are.
Wind is your friend
Matt