all groups > dotnet compact framework > january 2007 >
You're in the

dotnet compact framework

group:

getting the current date format of a ppc



getting the current date format of a ppc Optimus
1/21/2007 6:40:49 PM
dotnet compact framework: Hi every one,

I'm developing an application running on ppc using .netcf 2.0.
And I'd like to know about how to determine which
date format on which the system is running?
Is there any API exposed for getting the current date format of a ppc?

Can any one please help with this question?

Thanks in advance,
Optimus
Re: getting the current date format of a ppc Paul G. Tobey [eMVP]
1/22/2007 9:51:55 AM
Why do you want the format? You can P/Invoke GetDateFormat() or
GetTimeFormat() to get a date or time formatted with the current format. I
presume that there are managed code versions of these, also, although I
don't do date/time stuff in managed code. Why do you need the format and
not just a formatted version of the date or time?

Paul T.

[quoted text, click to view]

AddThis Social Bookmark Button