Execute the code in job
static void Job39(Args _args)
{
TimeOfDay time= timeNow();
int hour;
Minutes minutes;
minutes = time/60; //minutes
hour = minutes/60; //hours
info(strFmt("second:%1, Minutes :%2 hour:%3 ",time,minutes, hour));
}
You will get output like
O/P
second:64490, Minutes :1074 hour:17
Note::Output as per my current time.
Subscribe to:
Post Comments (Atom)
Create number sequence in D365 FO
Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...
-
Dialogbutton dialogButtonConfirm; ; dialogButtonConfirm = Box::yesNo("continue ", dialogButton::Yes, ...
-
Just use the below code to remove the special character from the string. strRem('String','*'); You can replace * with...
-
Breakpoints Command Shortcut key Remove all breakpoints. CTRL+SHIFT+F9 I...
No comments:
Post a Comment