Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: AIF custom service TransDate field is rendering as date at 12 PM

$
0
0

So, I completely realize that Dates are not strings.  

The culture that I'm running under won't change the time on the output. In my C# test application, the object that's coming across is a System.DateTime type.

Console.WriteLine(item.shippingDateRequested.Hour);

That gives me 12 as an output.  So unless there's some funky System.DateTime stuff going on, it's 12 PM.

I could see culture messing with me around the dates if I was doing the good ole mm/DD/yyyy or DD/mm/yyyy or yyyy-mm-dd.


Viewing all articles
Browse latest Browse all 175888

Trending Articles