Show data in british time format

I am hosting my site on an american host and i need to display dates in british data format but it wont, any ideas?  Also i dont know if this has anything to do with it but when i insert dates into the database (access 2000) it gives me a ramdom data and a time also - why?
Harley84Asked:
Who is Participating?
 
aprestoConnect With a Mentor Commented:
only with an opening <, sorry

As far as your insertion goes, make sure that the input mask of the database is set to the format you want (Short, Medium or long date),  otherwise when you insert a data it will also insert the time as you need to specify,
0
 
aprestoCommented:
%Session.LCID = 2057%>.

Put this in your code to display british dates
0
 
aprestoCommented:
Are you using a combo drop down to insert dates or a calendar, or are you manually typing them in?
0
 
alorentzCommented:
Show daata with this:

Function formatToUK(v)
     formatToUK= day(v) & "/" & month(v) & "/" & year(v)
End function


Put in DB with this:

Function formatToUS(v)
     formatToUS= month(v) & "/" & day(v) & "/" & year(v)
End function
 
0
 
Harley84Author Commented:
Problem solved, thanks alot.  You were right i hadnt specified the input mask, thats all it was, its works as its supposed to now - thanks dude!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.