Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Wednesday, November 22, 2017

From date and To date time conversion in AX 2012

Hi,

print  DateTimeUtil::newDateTime(fromDare,0);

This will return day start time 12:00 AM

print DateTimeUtil::newDateTime(ToDate,86400);

This will return day end time 11:59 PM

Regards,

No comments:

Post a Comment

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...