Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Strange Behaviour while trying to update generic date field from C# using Soap (2 Comments)

$
0
0

Topic by David Ritchie

Content

Hi All,

I am new to the Forum and to Oracle Service Cloud.  I am having some trouble updating a Date (date of birth) field we have added to our Contact. I create the date in C#, then I set the value in the record using the format from the technical documentation (code below).  However when I then use ROQL to retrieve the date from the record (code below) a block of months have taken a day off of the date of birth I generated and saved, however it is not all of the months.  Below is a list of inputs and what is being pulled back.  I have highlighted the strange behaviour.  I can't help but think I've done something stupid but as there aren't any examples of dealing with dates in the technical documentation I'm not really sure what is going on.

Thanks in advance for any help,

Dave

Date of birth: 01/01/1985
1985-01-01
-----------------
Date of birth: 01/02/1985
1985-02-01
-----------------
Date of birth: 01/03/1985
1985-03-01
-----------------
Date of birth: 01/04/1985
1985-03-31
-----------------
Date of birth: 01/05/1985
1985-04-30
-----------------

Date of birth: 01/06/1985
1985-05-31
-----------------
Date of birth: 01/07/1985
1985-06-30
-----------------
Date of birth: 01/08/1985
1985-07-31
-----------------
Date of birth: 01/09/1985
1985-08-31
-----------------
Date of birth: 01/10/1985
1985-08-31
-----------------

Date of birth: 01/11/1985
1985-11-01
-----------------
Date of birth: 01/12/1985
1985-12-01
-----------------

 

Version

Connect_Web_Services_for_SOAP 1_3

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles