preloader-matrix

Alfasith

Time null in AX 2012 / D365

Hi,

There is no timeNull() unline dateNull() in Ax 2012, where as there is an work around to handle this as timeMin() or TimeMax().

DateTimeUtil::time(dateTimeUtil::minTime());  // prints 12:00 AM
DateTimeUtil::time(dateTimeUtil::maxTime());  // prints 11:59 PM

Regards,

Share on email
Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Leave a Reply

Your email address will not be published.