Re: DATETIMEPATTERN
From: Karunakararao (karunakararaop_at_i-vantage.com)
Date: 10/05/04
- Next message: Jon Skeet [C# MVP]: "Re: Thread.Monitor & references"
- Previous message: Jon Skeet [C# MVP]: "Re: Strange UI behavior"
- In reply to: Ansil MCAD: "RE: DATETIMEPATTERN"
- Next in thread: Vaibhav: "Re: DATETIMEPATTERN"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 5 Oct 2004 12:47:22 +0530
Here Iam using in ASP.NET Web application
Here it is not taking the these settings
I want Format of like "MM/dd/yyyy"
Regards
Venu
"Ansil MCAD" <AnsilMCAD@discussions.microsoft.com> wrote in message
news:9AB03EEC-2F0B-40B3-B326-7A33D56354D1@microsoft.com...
> hi
> may be this can solve your problem
> http://www.codeproject.com/dotnet/datetimeformat.asp
> regards
> ansil
>
> "Karunakararao" wrote:
>
>> Hi all
>> How can i get the "Short Date Format" from regional and language
>> options
>> Like "MM/dd/yyyy"
>> how can get this type of format based regional settings;
>> I wnat to show this format in web application.
>>
>> Iam using this code
>> Label1.Text = CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern;
>> Iam getting this output ="M/d/yyyy";
>>
>> When ever chage the regional optional settings It's not changing when i
>> was
>> used this code.
>>
>>
>> Regards
>> Venu
>>
>>
>>
>>
>>
- Next message: Jon Skeet [C# MVP]: "Re: Thread.Monitor & references"
- Previous message: Jon Skeet [C# MVP]: "Re: Strange UI behavior"
- In reply to: Ansil MCAD: "RE: DATETIMEPATTERN"
- Next in thread: Vaibhav: "Re: DATETIMEPATTERN"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|