Jump to content

This topic is 7143 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have two timestamp fields and need to find out the number of days between them.

You guys have been great answering all my questions. Thanks again.

Jean

Posted

Jean, it would help to know your version. ;)

If vs. 7, here was a recent post which explains the concept of using timestamps. Thread towards the bottom (by Comment) specifically converts the difference to days for us.

LaRetta

Posted

I didn't realize someone else had stetpped in, sorry.

You can do it in vs. 6 but it takes more work. We need to know the fields involved. ;)

L

Posted

No problem. of course it takes more work, we need to upgrade.

I would need to know the number of days difference between fields "today" and "dateoflastsale". They are both set to date fields and I tried to just subtract the two but I got some weird number.

Posted

Taking the difference between two dates yields the number of days between them. The result of the calc should be Number.

Posted (edited)

I had it wrong, I changed the 'days since last sale' field to a calulation field, from a number field. For some reason that fixed it. thanks so much for your help.

Edited by Guest

This topic is 7143 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.