Skip to Content
0
Former Member
Aug 03, 2006 at 11:02 AM

Date Search Problem

14 Views

Hi

<u><b>Scenario:</b></u>

I have a table that has date, time and string data columns.

I have a search field where the user can enter any string and find a match.

<u><b>Problem:</b></u>

Format of Date displayed in the table: "5/9/2006"

Search String entered by the user: "5/9/2006"

Format of the Date when I use messageManager.reportSuccess to display the

date from the same context attribute: "2006-05-09"

Because of this difference, Im not able to find a match.

<u><b>Limitations:</b></u>

Cannot use SimpleDateFormatter as the format might differ for different countries.

<u><b>Question:</b></u>

How can I solve this problem?

Thanks

oj