Jump to content
Server Maintenance This Week. ×

Date Calculation


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

Recommended Posts

I have an application where I calculate the difference between 2 dates using the calculations:-

Today = Get ( CurrentDate )

Round ((Today - Date_Joined)/365 ; 1 )

and the resulting figure is 1 year out, ie it will tell me 2 years instead of 3

I know that this worked initially but for some reason that I cannot fathom out it has decided to drop a year.

I would be very grateful if some kind person can shed some light on this as I have checked date formats and everything and drawn a blank

Many thanks in anticipation

Alan

Link to comment
Share on other sites

This topic is 4763 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.