Author |
Message
|
nab054371 |
Posted: Thu Mar 20, 2008 8:30 am Post subject: DateTime field in MRM Domain - WBIMB V6 FP3 |
|
|
Disciple
Joined: 15 Nov 2006 Posts: 173
|
Hi,
I am running into an issue validating message coming in with a datetime value of 2008-03-19'T'13:33:43.456 . However a datetime value of 2008-03-19 13:33:43.456 does work?
Am I doing something wrong?
thanks |
|
Back to top |
|
 |
nab054371 |
Posted: Thu Mar 20, 2008 8:32 am Post subject: Re: DateTime field in MRM Domain - WBIMB V6 FP3 |
|
|
Disciple
Joined: 15 Nov 2006 Posts: 173
|
Hi,
I am running into an issue validating message coming in with a datetime value of 2008-03-19T13:33:43.456 . However a datetime value of 2008-03-19 13:33:43.456 does work?
Am I doing something wrong?
thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 20, 2008 8:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You're failing to identify the issue, I think. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nab054371 |
Posted: Thu Mar 20, 2008 8:47 am Post subject: |
|
|
Disciple
Joined: 15 Nov 2006 Posts: 173
|
Well its a simple error "2461" invalid string format,looks like its failing to cast to datetime... |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 20, 2008 9:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Right. The issue is that your pattern doesn't match your data. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Mar 23, 2008 8:26 pm Post subject: Re: DateTime field in MRM Domain - WBIMB V6 FP3 |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
nab054371 wrote: |
Hi,
I am running into an issue validating message coming in with a datetime value of 2008-03-19T13:33:43.456 . However a datetime value of 2008-03-19 13:33:43.456 does work?
Am I doing something wrong?
thanks |
Replace T with ' ' (space) and then validate  _________________ Cheers |
|
Back to top |
|
 |
|