madanthrax
IS-IT--Management
Hi guys,
I need the difference in days between two fields which have datetime entries, StartDate and EndDate, put into a third field called TotalDays. I need the number of days between dates for each entry.
I have tried "datediff(day, StartDate, EndDate)" as the TotalDays column default value, but it won't work. This is no suprise as I am an ASP developer and have no idea what I am doing....
I am sure this is simple for an SQL person, can someone help me out please. Thanks in advance for any posts.
Anthony
I need the difference in days between two fields which have datetime entries, StartDate and EndDate, put into a third field called TotalDays. I need the number of days between dates for each entry.
I have tried "datediff(day, StartDate, EndDate)" as the TotalDays column default value, but it won't work. This is no suprise as I am an ASP developer and have no idea what I am doing....
I am sure this is simple for an SQL person, can someone help me out please. Thanks in advance for any posts.
Anthony
"Nothing is impossible until proven otherwise"