Posted on: 5/19/2011 2:37:01 AM | Views : 280

First, if this is in the wrong forum group, my apologies.  
I'm righting a Visual Studio 2008 SOAP CLIENT in C#; it will talk to a legacy COBOL (server)program.  i'm doing a datenow and splitting it into pieces.  Each receiving field (YY, MM, DD, HH, etc) is PIC 9(2), Old school COBOL programmers should be familiar with that; (i.e. if month is 5 then MM is 05).
In debug (see code below), The first thing I noticed is that the CLIENT (not trying to get to the server yet) date/time data is all in HEX.  SO i belive a need to covert all these items to DEC. (i.e. year 7DB becomes 2011). 
The other problem i'm having is that the millisecnds (per VS online help, if I read it right) can be up to 3 digits (999).  I need to "stuff" that into a PIC 9(2) (truncate the last digit ...

Go to the complete details ...