HighTechTalks DotNet Forums  

DateTime.Now.toString("yyyyMMdd") depending on CultureInfo?

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss DateTime.Now.toString("yyyyMMdd") depending on CultureInfo? in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Frank Hauptlorenz
 
Posts: n/a

Default DateTime.Now.toString("yyyyMMdd") depending on CultureInfo? - 04-15-2008 , 05:29 AM






Hi,

I have this instruction mentioned at top running on an japanese client.
Strangely this renders to "200809" (just year and day).

Has anybody an idea?

Thank you,
Frank

Reply With Quote
  #2  
Old   
Michael S. Kaplan [MSFT]
 
Posts: n/a

Default Re: DateTime.Now.toString("yyyyMMdd") depending on CultureInfo? - 04-19-2008 , 12:53 PM






There are no four digit years in the Japanese Emperor calendar (the whole
"May the Emperor live 10000 years is an expression).

If you play with the dates you pass you will see what is happening quickly
enough....


--

MichKa [Microsoft]
Windows International
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.


"Frank Hauptlorenz" <ecstasy.tribe (AT) nospam (DOT) nospam> wrote

Quote:
Hi,

I have this instruction mentioned at top running on an japanese client.
Strangely this renders to "200809" (just year and day).

Has anybody an idea?

Thank you,
Frank



Reply With Quote
  #3  
Old   
Michael S. Kaplan [MSFT]
 
Posts: n/a

Default Re: DateTime.Now.toString("yyyyMMdd") depending on CultureInfo? - 04-19-2008 , 12:53 PM



There are no four digit years in the Japanese Emperor calendar (the whole
"May the Emperor live 10000 years is an expression).

If you play with the dates you pass you will see what is happening quickly
enough....


--

MichKa [Microsoft]
Windows International
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.


"Frank Hauptlorenz" <ecstasy.tribe (AT) nospam (DOT) nospam> wrote

Quote:
Hi,

I have this instruction mentioned at top running on an japanese client.
Strangely this renders to "200809" (just year and day).

Has anybody an idea?

Thank you,
Frank



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.