Quantcast
Viewing all articles
Browse latest Browse all 1353

Dates coming from web service

Hi,

 

I'm currently trying to consume in VC a CAF Application Service exposed as a Web Service. I'm able to retrieve what I want but I have a problem with dates format.

The web service returns dates in the following format: YYYY-MM-DDTHH:NN:SS

When I test my data service in VC it works fine. When I run my iview, VC swap the month and the day and compute the new date...

It's not just a problem of formatting with DVAL and DSTR because the date is already computed.

Example:

Date returned from web service: 2007-09-21T00:00:01

Date returned from test data service in VC: 21.09.2007

Date returned at runtime: 09.09.2008

 

VC understand 21.09.2007 not like DD.MM.YYYY but like MM.DD.YYYY so 21.09.2007 becomes 09.09.2008

 

I also tried to check on the server Regional and Language option but it doesn't come from there.

 

Have you ever faced this problem?

 

Thx


Viewing all articles
Browse latest Browse all 1353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>