logo       

Date format for Restrict() POOM changed in WM5?: msg#00029

windows.ce.devel

Subject: Date format for Restrict() POOM changed in WM5?

I'm having the same issue as described in the posting below. Has
anyone figured out what is going on with this and Windows Mobile 5? I
can't find any documentation anywhere that explains this situation.

Any info would be appreciated!

ppcinfo


"Todd Saylor" <xx> wrote in message
news:OBz6lHpuFHA.1472@xxxxxxxxxxxxxxxxxxxxxxx
> Hi -
>
> I've got some code that uses the POOM Restrict() call to select
> appointments in a particular date range, using a string such as
this:
>
> [Start] > "8/30/2005"
>
> For the date value I was using GetDateFormat() to apply the short
date
> format for the phone's locale. This was working well for WM2003
for
> various locales, but under WM5 it seems to only accept the US
format (like
> MM/DD/YYYY). If I use the native short date format instead, for
non-US
> locales I receive an "invalid parameter" hresult. For example,
> "DD.MM.YYYY" is not accepted even when that is the normal date
format for
> the locale.
>
> Has anyone else seen this change in behavior? Was this an
intentional
> change in WM5? I haven't been able to find any documentation that
> clarifies the allowable date formats for Find() or Restrict().

ppcinfo






------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise