Newbies cessna-ak Posted July 31, 2004 Newbies Posted July 31, 2004 I have two date fields and I am needing to calculate how many days have passed between them (ie., end date minus start date = elapsed number of days). Example: 1/15/04 - 1/10/03 = 370 I have searced high and low and am unable to find what I would think is an easy solution. Your help would be greatly appreciated.
The Shadow Posted July 31, 2004 Posted July 31, 2004 You just subtract them: endDate - startDate If one of them is literal, use GetAsDate(): GetAsDate("1/15/2004") - GetAsDate("1/10/03")
Newbies cessna-ak Posted July 31, 2004 Author Newbies Posted July 31, 2004 THANK YOU SHADOW!!! I have been messing with this for over a month and just couldnt figure it out and couldnt find info on line about it. In 6, I had a plug in that did all the date calcs for me. just subtracting them didn't ever work right, but using the GetAsDate function worked right away. THANK YOU!
Recommended Posts
This topic is 7490 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now