To Combine Date and Time fields and show in AX Report

To Combine Date and Time fields and show in the report.

To get UTC Date Time

Sample

SupplierDlvDataAndTime = DateTimeUtil::newDateTime(_vendPurchOrderJour.purchTable().DeliveryDate,_vendPurchOrderJour.purchTable().Custom_DeliveryTime,DateTimeUtil::getClientMachineTimeZone());

Ref

https://msdn.microsoft.com/en-us/library/datetimeutil.newdatetime.aspx

Comments