ASP Access Database Date Format Difference in different browsers

They have: 3 posts

Joined: Jul 2005

Hi,

I am looking for a bit of help please.

I run several queries on pages that are powered by Access databases on my pages. They include the date. I would like the date to read and be formatted as dd/mm/yy, and this happens in Internet Explorer, however, in Mozilla Firefox it is formatted as mm/dd/yy.
Is there anything I can do about this, as it is rather irratating!

Thanks for any help

James

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Do you have a sample page? The only thing I can think of is that your page is outputing code only IE can handle, and has a default setting for non IE browsers. Usually this crap comes from pages done up in Word or Front Page (see http://www.stow.oh.us/ for an example, view it it both IE and Firefox.)

-Greg

They have: 3 posts

Joined: Jul 2005

Hi,

The page is redhillcc.co.uk/Latest_Info.asp

If you view it in both browsers, there is a difference

Thanks for your help

James

They have: 3 posts

Joined: Jul 2005

I have just looked and it seems fine now - have had this some time in the past. I think it may be related to the time of day for some reason?
Any thoughts?

James

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Well, i just did a quick look at the source code that is being sent to the browser, and the code being sent doesn't look to have any of the screwy code that front page seems to like to give.

However, at the bottom, you have:

</body>

</html>
  bot="HTMLMarkup" endspan

</table>
' which isn't valid code there (really shouldn't be anything after the tag other than maybe comments), so i suggest you validate the site, http://validator.w3.org/check?verbose=1&uri=http%3A//www.redhillcc.co.uk/Latest_Info.asp to see what other problems there may be.

-Greg

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.