Use the DateDiff Function in an Access Query

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

ความคิดเห็น • 28

  • @Christine.Brown_RN_BSN
    @Christine.Brown_RN_BSN 11 ปีที่แล้ว

    I enjoy your videos and teaching style, Ralph. Thank you for taking the time to make them.

  • @Taylorejazmine
    @Taylorejazmine 9 ปีที่แล้ว +3

    Everytime I try to run this it asks me for a parameter for the dates, do you have any idea what the problem may be?

    • @samuelwright2958
      @samuelwright2958 3 ปีที่แล้ว

      @childofthespiral If you are using the newer version. It removed the need to underscore in categories. So, just putting a normal space resolves that issue instead of underscore

  • @brockmangroup9404
    @brockmangroup9404 7 ปีที่แล้ว

    Hello Ralph, I am trying to generate a select query to list all customers under 30 years old. When I use the datediff formula and select run I get the parameter box that pops up. Can you please help me on this?

  • @Con-menTv
    @Con-menTv 10 ปีที่แล้ว

    If this were to be used for start times and finish times and you need to calculate multiple start times and finish times on one form how would this be modified? Thanks awesome videos

  • @SixMinutesSmarter
    @SixMinutesSmarter  11 ปีที่แล้ว +1

    I've zipped the database and have made a link to that in the description. Give it a try.

    • @math260879
      @math260879 7 ปีที่แล้ว

      In your example, the dates have the same year "2013". Whats about when
      the dates I want to calculate have different years? it works on the same
      statement or we have to change the statement on the Query?

  • @math260879
    @math260879 7 ปีที่แล้ว

    In your example, the dates have the same year "2013". Whats about when the dates I want to calculate have different years? it works on the same statement or we have to change the statement on the Query?

  • @Forensource
    @Forensource 10 ปีที่แล้ว

    You have a good voice for narration.

  • @urvilsheth1731
    @urvilsheth1731 7 ปีที่แล้ว

    Hi Ralph, thanks for this! I've tried inputting the DateDiff function as an expression for a calculated field. However, I cannot find the function (Access 2013). Please advise what to do, thanks!)

  • @bernman999
    @bernman999 4 ปีที่แล้ว

    Great video can you calculate the days out column For example can you Average the Days out ? how will that be done?

  • @jadadocs8844
    @jadadocs8844 6 ปีที่แล้ว

    Hi, thank you for the awesome video. Need some help, I am trying to work out a customer next service date. For example, a customer has their product serviced today and would like them to return on their next service interval which maybe 3/6/9 or 12 months intervals from today. I would like the "Next Service Date" that will add the selected month to the current date making that the next service due date. I need the information to auto-populate on a customer form as I am aware the formula can only be done on a query form. Hope you have a video which may help me with this.

  • @muhammadfaruqbinmdyunus2137
    @muhammadfaruqbinmdyunus2137 11 ปีที่แล้ว

    Thanks Ralph! The problem with this expression is that whenever I use it, Access says that it is "not valid for Web-compatible queries". How do I get around this?
    Thanks!

  • @reymond21able
    @reymond21able 11 ปีที่แล้ว

    Good day sir, can i ask some help for this issue.I try to use the datediff for the days elapsed.date elapsed:datediff("d",[dateassign],now()). to generate the pending days.The problem is, I want to erase the days elapsed or pending days automatically if i register the date of purchased.What code or formula do i need to use.

  • @S-GShop
    @S-GShop 7 ปีที่แล้ว +1

    Whenever i try to return the command it says "parameter value" how do i solve this problem?

  • @farmanalishah8836
    @farmanalishah8836 6 ปีที่แล้ว

    Nice Video. Dear Can you please explain how to find weekday name from two dates. I have two dates: Complain received date and Response received date. How to find weekday name?

  • @divyabadineni2895
    @divyabadineni2895 6 ปีที่แล้ว

    Can anyone tell how to compare the table date time with system date time using sqldate function s with out creating variable....

  • @qaisahmad3028
    @qaisahmad3028 11 ปีที่แล้ว

    can't download the demo database

  • @moodkn
    @moodkn 2 ปีที่แล้ว

    Thanks Sir! Helpful

  • @neetsbailey
    @neetsbailey 6 ปีที่แล้ว

    Thanks Ralph this really helped me

  • @ana3671sosa
    @ana3671sosa 5 ปีที่แล้ว

    Thanks you so much!!!! I was running crazy but now is done!

  • @shwagdulla
    @shwagdulla 6 ปีที่แล้ว +1

    Thank you!

  • @SripathiSanath
    @SripathiSanath 5 ปีที่แล้ว

    How to find the dateDiff in minutes/ hours?

  • @lipysak
    @lipysak 4 ปีที่แล้ว +1

    Days late:DateDiff("d",[Checkout_Date], [Return_Date])
    You are welcome (y)

  • @COWBOY_TECH
    @COWBOY_TECH 6 ปีที่แล้ว

    very helpful but hared to listen too you need to eq your audio to cut the sss and sharp highs in your voice hurts the ears

  • @sherifadely9943
    @sherifadely9943 9 ปีที่แล้ว

    thanks

  • @SupunWiratunga
    @SupunWiratunga 8 ปีที่แล้ว +1

    Thank you!