Localised DateStamp

garcon

Well-known member
Joined
Dec 13, 2004
Messages
47
Programming Experience
Beginner
Hi,

I'm using the following VB.NET code in the code-behind file to generate a date stamp in the general format like:

29 December 2004

VB.NET:
[size=2][/size][size=2][color=#0000ff]	Dim[/color][/size][size=2] dateString [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String[/color][/size][size=2] = [/size][size=2][color=#0000ff]Date[/color][/size][size=2].Now.ToLongDateString[/size]

Thing is though I want to localised the month to German (and other languages) for example the "December" in the above becomes the German equivalent etc...

Anyone out there know how to do this for german and other languages?
Would greatly appreciate any comments/code-samples on this...

Thank you,
G.
 
Top Bottom