Click here to Skip to main content
15,917,628 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionDetermine executing OS, not application architecture Pin
Tony Teveris22-Dec-09 8:41
Tony Teveris22-Dec-09 8:41 
AnswerRe: Determine executing OS, not application architecture Pin
Sir Dot Net22-Dec-09 8:50
Sir Dot Net22-Dec-09 8:50 
GeneralRe: Determine executing OS, not application architecture Pin
Tony Teveris22-Dec-09 9:07
Tony Teveris22-Dec-09 9:07 
GeneralRe: Determine executing OS, not application architecture Pin
Sir Dot Net22-Dec-09 10:48
Sir Dot Net22-Dec-09 10:48 
AnswerRe: Determine executing OS, not application architecture Pin
Luc Pattyn22-Dec-09 8:55
sitebuilderLuc Pattyn22-Dec-09 8:55 
GeneralRe: Determine executing OS, not application architecture Pin
Tony Teveris22-Dec-09 9:20
Tony Teveris22-Dec-09 9:20 
QuestionDate formatting issue Pin
Jack Vanderhorst22-Dec-09 8:03
Jack Vanderhorst22-Dec-09 8:03 
AnswerRe: Date formatting issue [modified] Pin
Luc Pattyn22-Dec-09 8:13
sitebuilderLuc Pattyn22-Dec-09 8:13 
Hi,

a typical mistake. This page of MSDN documentation[^] tells you what the parts of the format string represent; M is an indicator for the month number, and / for the date separator. As a result regional settings are still infiltrating your app!

You could create your own DateTimeFormatInfo object and set all of its details any way you like, then pass that to DateTime.ToString() instead of a string.

[ADDED]
Or you could single quotes to escape the special characters you want to be taken literally, so use '/' to get a real slash, no matter what.
[/ADDED]

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


modified on Friday, December 25, 2009 3:46 PM

GeneralRe: Date formatting issue Pin
Jack Vanderhorst22-Dec-09 9:09
Jack Vanderhorst22-Dec-09 9:09 
GeneralRe: Date formatting issue Pin
Luc Pattyn22-Dec-09 9:18
sitebuilderLuc Pattyn22-Dec-09 9:18 
QuestionAppDomains and native window message handlers Pin
rogerkhoueiry22-Dec-09 4:02
rogerkhoueiry22-Dec-09 4:02 
QuestionTAG control [modified] Pin
ghbloos20-Dec-09 23:09
ghbloos20-Dec-09 23:09 
AnswerRe: TAG control Pin
hattonjohn17-Feb-10 12:01
hattonjohn17-Feb-10 12:01 
GeneralRe: TAG control Pin
ghbloos21-Feb-10 22:11
ghbloos21-Feb-10 22:11 
Questionin javascript, how to get a struct return by C# Pin
coderormnger20-Dec-09 18:58
coderormnger20-Dec-09 18:58 
AnswerRe: in javascript, how to get a struct return by C# Pin
coderormnger23-Dec-09 19:50
coderormnger23-Dec-09 19:50 
QuestionShallow and deep copies Pin
Jeroen De Dauw20-Dec-09 6:28
Jeroen De Dauw20-Dec-09 6:28 
AnswerRe: Shallow and deep copies Pin
Luc Pattyn20-Dec-09 6:53
sitebuilderLuc Pattyn20-Dec-09 6:53 
GeneralRe: Shallow and deep copies Pin
Jeroen De Dauw20-Dec-09 6:59
Jeroen De Dauw20-Dec-09 6:59 
QuestionVB.Net - The dependency service does not exist or has been marked for deletion. (Exception from HRESULT: 0x80070433) Pin
Tony Teveris19-Dec-09 9:03
Tony Teveris19-Dec-09 9:03 
QuestionMemory Mapped File Pin
Wannes Geysen18-Dec-09 1:10
Wannes Geysen18-Dec-09 1:10 
AnswerRe: Memory Mapped File Pin
Dave Kreskowiak18-Dec-09 7:51
mveDave Kreskowiak18-Dec-09 7:51 
QuestionHow to Find the documentation oF MSPastry Library under MSDN ? Pin
ksaw12318-Dec-09 0:36
ksaw12318-Dec-09 0:36 
AnswerCPIGNORE: Duplicate post Pin
Dave Kreskowiak18-Dec-09 7:41
mveDave Kreskowiak18-Dec-09 7:41 
QuestionHow can I deploy an application using VISIFIRE Pin
cutudi16-Dec-09 4:13
cutudi16-Dec-09 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.