Microsoft Access Number of Days Between Two Dates - DATEDIFF Function - Date Difference - TechHelp

  Рет қаралды 40,070

Computer Learning Zone

Computer Learning Zone

Күн бұрын

Пікірлер
@_primedits614
@_primedits614 9 ай бұрын
Is there any way to calculate the year differences instesd of the day?
@599CD
@599CD 9 ай бұрын
You mean like 599cd.com/Age?
@pinkypaler3067
@pinkypaler3067 3 жыл бұрын
Hello Richard I was wondering if it is possible to merge the Years Months and Days into this kind of format 1y3m2d just like this because in excel I was able to do this but how on access hoping you will able to help me thank's in advance.
@599CD
@599CD 3 жыл бұрын
Sure. Just use the Format function and some concatenation.
@TruthSeeker-3150
@TruthSeeker-3150 2 жыл бұрын
Is there a way to use the DateDiff to display the difference in 2 dates in years, months, weeks, days, hours & mins in one string? Thx
@599CD
@599CD 2 жыл бұрын
Not easily. I do have a function that I wrote for this, however: 599cd.com/HowLong
@ryeshegabriel
@ryeshegabriel 4 жыл бұрын
hello, im using ms access2007, and using datediff, but everytime i run a command im getting "Undefined function 'DateDiff' in expression" i hope u can help me, thanks
@599CD
@599CD 4 жыл бұрын
Well, DateDiff has been around for ages, definitely since 2007. How/where are you using it?
@cambodeeritnews5629
@cambodeeritnews5629 4 жыл бұрын
i want access office like yours. where can i get it?
@599CD
@599CD 4 жыл бұрын
I have a Microsoft 365 for Business subscription. amzn.to/3alIJLm
@TanyaBadger-s7w
@TanyaBadger-s7w 11 ай бұрын
What if you want to subtract two dates from within your table? For example, date received and date sent, I want to calculate the days difference between date received and date sent.
@599CD
@599CD 11 ай бұрын
599cd.com/ask
@carlrigefsky9193
@carlrigefsky9193 4 жыл бұрын
I'm looking to calculate age as of 12/31 current year. Is there a way to calculate without having to hard code 12/31/yyyy? Thanks
@599CD
@599CD 4 жыл бұрын
You could say: MyStr = "12/31/" & Year(Date()) MyDate = CDate(MyStr)
@thomascorbett7545
@thomascorbett7545 4 жыл бұрын
Thank you Richard, this is exactly what I needed. Love your classes, friendly, easy and applicable right away.
@599CD
@599CD 3 жыл бұрын
Glad you like them!
@jenstercastro9694
@jenstercastro9694 2 жыл бұрын
Is it possible to make it in MS Access 2013?
@jenstercastro9694
@jenstercastro9694 2 жыл бұрын
@@599CD is it possible?
@chunglee5626
@chunglee5626 4 жыл бұрын
Hi how are you? I have question see if you could help me on Microsoft Access. I got two tables, one is Customer, one is current month order, how could I find out customers do not order this month. How do I set the criteria on the customer table to display those one not order this month. Hope you could help.
@599CD
@599CD 4 жыл бұрын
Doing it by month would be more difficult than just saying "show me customers who haven't ordered in 30 days." Set up an aggregate query to show MAX of the order date, and then use some date math like (Now()-OrderDate) to get the number of days since they last ordered. This is actually a good question for a video. Maybe I'll add it to my list...
@MalikBabarHasan60855
@MalikBabarHasan60855 Жыл бұрын
please tell me how to get total numer of a given month as in ms excel EOMONTH
@599CD
@599CD Жыл бұрын
I actually have a video on this coming soon.
@MalikBabarHasan60855
@MalikBabarHasan60855 Жыл бұрын
Thanks great sir. @@599CD
@599CD
@599CD Жыл бұрын
599cd.com/EOMONTH
@johnprins7453
@johnprins7453 3 жыл бұрын
Good day Richard. I need to do a calculation between two dates: I have a delivery date and a cast date. The answer must tell me when 70% of the time between these dates has gone by and the item has not been cast yet
@599CD
@599CD 3 жыл бұрын
Subtract date1 from date2. That will give you the number of days between the two dates. Now multiply that by 0.7 and then add that number to date1. That will tell you your target date.
@YousafKazmi12
@YousafKazmi12 4 жыл бұрын
Dear Sir I want to calculate age in access report as "01 years, 2 Months, 3 Days" format
@599CD
@599CD 4 жыл бұрын
I cover this in my Access Expert 28 class. I actually wrote a function called HowLong which can return values like "1 year, 3 months, 4 days." 599cd.com/XACX28
@chrisbezant4760
@chrisbezant4760 4 жыл бұрын
Hello Rick great content as usual but I am struggling with these full screen views. I much prefer your traditional small area views that are in all your courses.
@599CD
@599CD 3 жыл бұрын
Yeah, sorry about that Chris. Had to join the 21st Century though and go HD. I think the videos are much clearer now.
@BanditFX7
@BanditFX7 4 жыл бұрын
Nice topic ! So How Extract Day Name from date field ?????
@599CD
@599CD 4 жыл бұрын
Easiest way is the use the FORMAT Function: Format(MyDate,"dddd") will give you "Wednesday". I cover this in Access Expert 11: 599cd.com/X2VJN
@BanditFX7
@BanditFX7 4 жыл бұрын
@@599CD Thk's very much!
@venkatk4703
@venkatk4703 4 жыл бұрын
Excellent !! This is what I want .
@599CD
@599CD 4 жыл бұрын
Glad to help
@andreiagraca9141
@andreiagraca9141 Жыл бұрын
Very, very helpful. Thank you!
@599CD
@599CD Жыл бұрын
You're welcome!
@UsmanGhani-de1mz
@UsmanGhani-de1mz 4 жыл бұрын
Sir, i watch your videos regularly, i have searched Ms.access two date range with third text box query i mean specific person data but never found, i think no one worked on this can you make a video on it?
@599CD
@599CD 4 жыл бұрын
I'm not exactly sure what you're trying to do, but if you want me to make a video, submit it via the TechHelp page: 599cd.com/TechHelp - that's the best way to get on the list.
@mohankrishnagc8967
@mohankrishnagc8967 4 жыл бұрын
Dear Richard, Thank you for all your videos. I am viewing all your videos. It's really good to develop our skill set. Presently i am not able to displaying time zone based on the user selection I need help regarding setting the time according to the user's request. Based on User selection in the drop down list time should be display Ex: Bangalore-Bangalore Time zone New York - New York Time zone London - London Time zone San Francisco- San Francisco Time zone Thank you for your help... Regards, Mohan
@599CD
@599CD 4 жыл бұрын
Working across time zones can be tricky. I'll try to put together a lesson on this in the near future.
@RonAbrams
@RonAbrams 4 жыл бұрын
Thank you Richard stay positive hope your heath improves
@599CD
@599CD 3 жыл бұрын
Thank you.
@cambodeeritnews5629
@cambodeeritnews5629 4 жыл бұрын
i love your tutorial video. God bless.
@599CD
@599CD 4 жыл бұрын
Thank you! 😊
@rafaelboni
@rafaelboni Ай бұрын
Hi Richard, thank you so much, you help me here in Brazil ;o)
@599CD
@599CD Ай бұрын
Happy to help!
@DP-tn8wo
@DP-tn8wo 4 жыл бұрын
dd: DateDiff("w",[Change Start Date],[Date Logged]) ..........want to work out the difference in workday (5day) but its not working on MS Access 2007, help please Change Start Date 06/06/2021 Date Logged = 20/04/2019
@599CD
@599CD 4 жыл бұрын
DateDiff with a "w" gives you whole 7-day weeks, not 5-day work weeks.
@sagrodat
@sagrodat 3 жыл бұрын
Thank you for this sir, just what I needed
@599CD
@599CD 3 жыл бұрын
Glad it helped
@padhichittaranjan11
@padhichittaranjan11 4 жыл бұрын
Sir, I want to calculate the Year, Month & Days from Date of Birth. Please explan the way to get actual age. Regards
@599CD
@599CD 3 жыл бұрын
599cd.com/age
@jessiesolijon3323
@jessiesolijon3323 3 жыл бұрын
Thanks for this sir!
@599CD
@599CD 3 жыл бұрын
Welcome!
@thudeets
@thudeets 4 жыл бұрын
thumbs up
@599CD
@599CD 3 жыл бұрын
Thanks!
Microsoft Access TechHelp Sorted Combo Box
6:36
Computer Learning Zone
Рет қаралды 6 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН
Microsoft Access Beginner Level 1 - Complete 4-Hour Course
4:16:16
Computer Learning Zone
Рет қаралды 216 М.
Create a Database in Microsoft Access for Beginners in 2024
12:27
ITsEasyTraining1st
Рет қаралды 3 М.