Hi,
In this post I am going to show the difference between 2 utc datetime and it will return the Days,Hours,Minute,Second in Microsoft Dynamics AX 2012.
utcDatetime PreparedOn ;
utcDatetime DispensedOn ;
str diffTime ;
int time;
if(DispensedOn !=utcdatetimenull() && PreparedOn!=utcdatetimenull())
{
time = DateTimeUtil :: getDifference(DispensedOn,PreparedOn);
diffTime = strFmt('%1d:%2h:%3m:%4S',(time div 86400),((time Mod 86400) div 3600),((time Mod 3600) div 60),((time Mod 3600) Mod 60));
}
In this post I am going to show the difference between 2 utc datetime and it will return the Days,Hours,Minute,Second in Microsoft Dynamics AX 2012.
utcDatetime PreparedOn ;
utcDatetime DispensedOn ;
str diffTime ;
int time;
if(DispensedOn !=utcdatetimenull() && PreparedOn!=utcdatetimenull())
{
time = DateTimeUtil :: getDifference(DispensedOn,PreparedOn);
diffTime = strFmt('%1d:%2h:%3m:%4S',(time div 86400),((time Mod 86400) div 3600),((time Mod 3600) div 60),((time Mod 3600) Mod 60));
}
AfiviOdispmo Michelle Lee https://wakelet.com/wake/IG0C1FYcJEBLC678piaQ_
ReplyDeleteberbtebure
NterptipMdis_ta Gregg Gant https://colab.research.google.com/drive/1Qd3gebFanYei9KIHnfjc2wV6zrbuz-Ms
ReplyDeleteclick
download
link
gurgrabelmai
NsublaKtal-fu-1991 Mike Anderson FastStone Capture
ReplyDeleteWonderShare Recoverit
CyberLink PowerDVD
fectpaddrahi