Jens,
I see now that you are Danish, in our cultures the am/pm is not used, AFAIK
have you first to change the culture to an English one
(threading.currentthread.currentculture) and that as I wrote in my previous
message depending where the month has to be (in USA or other English
cultures way) or use the ICultureProvider. I thought that Danmark was as
well using a 24 hour clock.
Cor
"Cor Ligthert [MVP]" <no************@planet.nlschreef in bericht
news:e7**************@TK2MSFTNGP05.phx.gbl...
Jens,
Is this in your current culture setting, maybe is it better to show it
next time in dd/MM/yyyy hh:mm:ss aa
Or to use a date as 31 december, now we cannot see if you want to use it
for the USA or for the rest of the English speaking cultures in the world.
Cor
"Jens Jensen" <jj@jensen.dkschreef in bericht
news:ui**************@TK2MSFTNGP02.phx.gbl...
>>
Hello,
I need to format the current date in C# so it looks like this:
10/4/2006 1:38:53 PM
Can somen tell how i do this?
Many thanks
JJ