preloader-matrix

Alfasith

Minumum and Maximum date in AX 2012 / D365

Hi,

// Minimum dateTime and Maximum DateTime

utcdatetime                 minDateTime = DateTimeUtil::minValue();

utcdatetime                 maxDateTime = DateTimeUtil::maxValue();

// Minimum date and Maximum Date
 
TransDate                 minDate = dateNull();

TransDate                 maxDate = dateMax();

Regards,

Leave a Reply

Your email address will not be published.