How to calculate remaining days between two dates (1 Viewer)

Amena

New member
Local time
Today, 10:31
Joined
Sep 11, 2019
Messages
1
Hello,

I am creating a task management template in access. I would like to calculate remaining days left to finish the task between task [Assigned Date] and [Due Date] in query. How do I solve this issue?
 

CJ_London

Super Moderator
Staff member
Local time
Today, 18:31
Joined
Feb 19, 2013
Messages
16,622
use the datediff function

datediff("d", [Due Date],[Assigned Date])

you may need to swap the two fields around depending on whether you want a positive or negative value
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:31
Joined
Oct 29, 2018
Messages
21,480
Hi Amena. Welcome to AWF! I would have thought “remaining days” would have been between the due date and today.
 

Users who are viewing this thread

Top Bottom