I am working vb.net application vs 2005,I am using culture ("ja-JP") japan in my application but i need to display date in this format("dd-MMM-yyyy") how to change it?

Thanks

I am working vb.net application vs 2005,I am using culture ("ja-JP") japan in my application but i need to display date in this format("dd-MMM-yyyy") how to change it?
Thanks

Hi,

You can try something like this:

Label1.Text = Date.Now.ToString("dd/MMM/yyyy", CultureInfo.CreateSpecificCulture("ja-JP"))

I couldn't tested it, because I haven't a japanese font on my PC.

Hi,

You can try something like this:

Label1.Text = Date.Now.ToString("dd/MMM/yyyy", CultureInfo.CreateSpecificCulture("ja-JP"))

I couldn't tested it, because I haven't a japanese font on my PC.

Thanks

i solved my problem

Hi,

Was my answer correct, because I couldn't tested it?

Mark your thread as solved. :)