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

I'm sorry, but your question wasn't clear to me. Your discussion about formats ("00:00:00" vs "@ 12 PM") gave me an impression that you want a different format; now it seems it's irrelevant (or marginal, at least); you're sying that you're actually getting an unexpected value.

Please try converting your date with "o" format:

Console.WriteLine("{0:o}", item.shippingDateRequested);

It includes not only hours, but also timezone offset, which might give you some extra information. (Honestly I have no idea whether AX returns timezone in DateTime structures.)

If you can, do some debugging to find out when the value changes. (You can debug CIL code in AX using Visual Studio.)


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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