Calculate Total Time Spent on a Job in Hours, Minutes with DateDiff in Microsoft Access, Time Clock

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 54

  • @Jojosmith342
    @Jojosmith342 Год назад +1

    Thtank you so much Richard for another valuable lesson. This helps me with the job. You make our lives so much easier. Thanks a lot for your hard work. Thumbs up even before starting. You love teaching people and we love learning from you. Can't sleep well without thumbs up to Richard's tutorial 👍

    • @599CD
      @599CD  Год назад

      You're too kind

  • @ianjohnson2866
    @ianjohnson2866 3 года назад +1

    Hi Richard, absolutely just what I was looking for and so clearly described, thank you so much!

    • @599CD
      @599CD  3 года назад +1

      Welcome!

  • @jayd3578
    @jayd3578 4 года назад +2

    omg you read my mind. that was a question i was going to ask. thanks.

    • @599CD
      @599CD  4 года назад

      You bet!

  • @ehteshamshah
    @ehteshamshah 4 года назад +2

    Sir U solve my problem in this video, Hats off

    • @599CD
      @599CD  4 года назад

      Thanks

  • @nursinta7503
    @nursinta7503 11 месяцев назад +1

    How do you calculate the total delay time of 60 minutes in a day?

    • @599CD
      @599CD  11 месяцев назад

      I don't understand your question please elaborate

  • @djkldkedie
    @djkldkedie 5 месяцев назад

    muchas gracias
    me ayudado mucho

  • @almarkbermudo9375
    @almarkbermudo9375 3 года назад

    I learned a lot. Thank you Rich.😎

    • @599CD
      @599CD  3 года назад

      Welcome

  • @AchaikiDiachiristiki
    @AchaikiDiachiristiki 4 года назад +1

    Your video is very useful but I would like to ask what happens when the pay per hour is different whether it is day, night or Sunday.
    For example, if the job starts on 11/15/2020 18:00 and ends on 11/16/2020 03:00, how do we calculate how many hours will be paid with price per hour (a) and how many paid with price per hour (b) when (a) is between 06: 00 and 22:00 and (b) between 22:00 -06:00 ?

    • @599CD
      @599CD  4 года назад

      That would involve some additional calculations. Feel free to submit it: 599cd.com/TechHelp

  • @dougpowell1827
    @dougpowell1827 2 года назад

    Richard, learned so much from you already! Do you have a video on Tree views in MS Access?

    • @599CD
      @599CD  2 года назад

      Access Developer 20: 599cd.com/ACD20

  • @considerthis9999
    @considerthis9999 4 года назад +4

    Hi great tutorials , but TotalMinutes: DateDiff("n",[TimeIn],[TimeOut]) keeps kicking out "invalid syntax"

    • @599CD
      @599CD  4 года назад

      Don't know what to tell you. It works for me. I've been teaching this for 27 years and it's been the same the whole time. Maybe you've got a problem somewhere else in your query. Try running down this: 599cd.com/Trouble

    • @SuperChrispol
      @SuperChrispol 3 года назад

      try with ; instead of ,

    • @surf68za
      @surf68za 2 года назад +1

      Did you find an answer , I get the same thing ?

  • @smitamirashi2014
    @smitamirashi2014 3 года назад

    That I exactly want you are Great!

    • @599CD
      @599CD  3 года назад

      Thanks!

  • @nurmohammed6355
    @nurmohammed6355 Год назад

    hi richard I need your help, in this video you add a formula. how can implement this formula in my database? that is table example, machine breakdown start time and breakdown end time, how can calculate? how many times was machine breakdown? i'm waiting for your answar. Thanks.

    • @599CD
      @599CD  Год назад

      599cd.com/ask

  • @CambodianTutorials
    @CambodianTutorials 3 года назад

    thanks

    • @599CD
      @599CD  3 года назад

      Welcome

  • @SumanDevi-rx3jd
    @SumanDevi-rx3jd 3 года назад

    Hi!Good video! Can you please guide me on what datatype to use for storing hours says 1500 h 45 min in an access table?

    • @599CD
      @599CD  3 года назад

      Are you saying you want to display a normal time in that format?

    • @SumanDevi-rx3jd
      @SumanDevi-rx3jd 3 года назад

      @@599CD Yes. Is there a means for storing durations in access without resorting to text data type or the confusing number format?

  • @kellyfoley1575
    @kellyfoley1575 3 года назад

    Where do I find the 40 min extended cut. I am a new silver member and can not find this vide?

    • @599CD
      @599CD  3 года назад

      The link is right in the description of this video. Takes you here: ruclips.net/video/8xj0oxAbZpI/видео.html

  • @SprintingMini
    @SprintingMini 3 года назад

    Great instruction. How do you display 'SumOfFractHours' in your TimeClockQ as hours/mins?

    • @599CD
      @599CD  3 года назад

      Feel free to submit your questions at 599cd.com/TH. Members get priority.

  • @rouellmicoh.e.g5409
    @rouellmicoh.e.g5409 3 года назад

    Hi Sir, how did you create that kind of format on time in and time out? it is possible to have a time picker with date? Thank you in advance

    • @599CD
      @599CD  3 года назад +1

      599cd.com/TimePicker

    • @rouellmicoh.e.g5409
      @rouellmicoh.e.g5409 3 года назад

      @@599CD Thanks for the reply, link is unavailable

    • @599CD
      @599CD  3 года назад

      Try again now

  • @aquariumfishes1584
    @aquariumfishes1584 3 года назад

    Good

  • @cirstybonadio6640
    @cirstybonadio6640 4 дня назад

    what am i doing wrong
    HoursWorkedJob: [WholeHours] & " hrs" & IIF([MinutesLeft]>0, " & [MinutesLeft] & " mins","")

  • @edmonfortes4672
    @edmonfortes4672 4 года назад

    How I can make a running total for the your displaytime column for example. Please help Sir it's the last thing I need for my project.

    • @599CD
      @599CD  4 года назад

      599cd.com/a?24141

  • @hazemgad1243
    @hazemgad1243 4 года назад

    Please, how to calculate the electrical power consumed during the night shift , the first counter reading is at 8:00 pm and the second reading at 8:00 am the next day, Thanks

    • @599CD
      @599CD  4 года назад

      Feel free to submit your question here: 599cd.com/TechHelp

  • @mariossher7710
    @mariossher7710 4 года назад

    can i use this for employee tracking like vacations and stuff ?????? please if you could answer me im in a
    hurry

    • @599CD
      @599CD  4 года назад

      Sure.

  • @andreasnesheim9903
    @andreasnesheim9903 3 года назад

    Good tutorial.
    Though following all your steps, I end up with a "quadruple report", that meaning, when I run the query the result repeats it self. Even tho the Table only have 4 inputs.
    How or why do you think this happens? Possible solution?

    • @599CD
      @599CD  3 года назад

      No idea. I'd need to see it.

  • @ulyssesvillagonzalo4959
    @ulyssesvillagonzalo4959 3 года назад

    Hi, how can you prevent the date and time(s) from being changed when the employee(s) press the button(s) twice or more? is it possible that no matter how many times they press those buttons, the time won't change since it was pressed the first time, when he or she clocked in?

    • @599CD
      @599CD  3 года назад

      Sure. That all depends on how you're clocking them in. If you're using a button, just put some code in the button that says if there is already a StartTime, don't let them save another StartTime. If you want to use a BeforeUpdate event to check the value, you can do it there too. There's a million ways to do everything in Access. I cover some options in my TimeClock video: 599cd.com/TimeClock

  • @soniagaied
    @soniagaied Год назад

    Thank you, but the problem still exists. It's not 15.75 hours, but rather 16.15 hours.

    • @599CD
      @599CD  Год назад +1

      Huh?

    • @soniagaied
      @soniagaied Год назад

      @@599CD My previous understanding was incorrect, but thanks to your assistance, my problem has been resolved.