C\AL

mary1503mary1503 Member Posts: 10
Hello,
I'm developping under C/side environnement and I want to know how can I calculate for a routing opération in a production order its run time from doing (Starting Time-Ending Time).
Thank you form indicating If there's some formula to apply on this substraction to obtain the run time (exp: 3mn ) .

Comments

  • jglathejglathe Member Posts: 639
    Hi,

    you can subtract DATETIME variables (fields) from each other. The result is of the type DURATION, which is mor ore less TIME.

    with best regards

    Jens
  • mary1503mary1503 Member Posts: 10
    Thanks you for replying on my request,
    I just want to know how can I do this substraction of each fields of the Date Time Variable.
    How can I extract hours, minutes and seconds separately

    Thanks a lot
  • SavatageSavatage Member Posts: 7,142
    What have you tried?

    First try the search feature:
    search.php

    enter "hours minutes seconds" into the search
Sign In or Register to comment.