468,544 Members | 1,743 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,544 developers. It's quick & easy.

date format

hi,
I have doubt i.e I would like to change the date
format.I have used the datetimepicker control in my
application.when ever i select by deafault it is giving
mm/dd/yyyy but i need the dd/mm/yyyy format.
Regards,
krishna.
Nov 21 '05 #1
2 957
Kirshna,

This is working accoording to the datetime setting in your computer language
culture setting in the config.

I would first look there before you start doing all things in the program
making it language dependend.

I hope this helps

Cor
Nov 21 '05 #2
"krishna murthy" <ve*************@gmail.com> schrieb:
I have doubt i.e I would like to change the date
format.I have used the datetimepicker control in my
application.when ever i select by deafault it is giving
mm/dd/yyyy but i need the dd/mm/yyyy format.


Set the datetimepicker's 'Format' property to 'Custom' and assign an
appropriate date/time format string to its 'CustomFormat' property.

Date and Time Format Strings
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconDateTimeFormatStrings.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Simon Brooke | last post: by
4 posts views Thread by Richard Hollenbeck | last post: by
5 posts views Thread by Macca | last post: by
12 posts views Thread by Assimalyst | last post: by
20 posts views Thread by andreas | last post: by
30 posts views Thread by fniles | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.