Click here to Skip to main content
15,065,044 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear all

I'm using vb dot net 2008, i want to change client computer date format and date time using vb dot net program. can you help to me

Maciej Los 18-Apr-13 5:43am
What for?
[no name] 18-Apr-13 5:51am
is it windows application?

You can't change the client system date format or date time from the server - and if you could and did your site would be about as popular as herpes.

You can set the format of date items that you display by specifying a format when you convert DateTime values to a string, but that's about it: Formatting a DateTime for display - format string description[^]
As Griff said, it can't be done for a web app. If you're programming a windows forms app, then it can be done. I found this link:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900