Australian or British Date format in ASP.NET

By Jamsi • Feb 8th, 2006 • Category: ASP.NET

Having problems with dates appearing in US format (mm/dd/yyyy) and not British or Australian format (dd/mm/yyyy)? Are you getting the famous “Invalid datetime format” error?

If your British, whack the following in your web.config file.

Else if you’re Australian, use the following.

Also, make sure your connection string has the following: ;Language=British



No related posts.


FREE NEWSLETTER -> Want Tech Tips Sent Straight to your Inbox?

Grab our Newsletter to Ensure your PC is Running Smooth!

Jamsi is currently studying a full time Bachelor of Computer/Business degree and working part time as an Internet Security Consultant.
Email this author | All posts by Jamsi

Leave a Reply