Please tell me anybody how to create query for formula of date difference. I need it urgently to calculate to find out net service of employees in MS Access.
Regards
Advertisements. Register and be a member of the community to get rid of them.
There is a DATEDIFF ( DatePart , StartDate , EndDate ) and DATEADD ( datepart , number, date ). The query will be
SELECT DATEDIFF ( DatePart , StartDate , EndDate ) AS datenew where clause.