Question : CRM 4.0 - Contracts Expiring at a specific time?

We have CRM 4.0 using SQL Server 2005 in house.  Contracts seem to be expiring on the "expireson" field just fine.  The problem is that they expire at 4pm that day.  Is there a way that this can be changed?  I'm pretty sure it would have to be changed in a file somewhere on the SQL Server as apposed to changing something in Settings under the Web Interface of CRM.

Answer : CRM 4.0 - Contracts Expiring at a specific time?

I ran it through a reformatter for you (See above). It only has a few dozen lines so figuring it out should not be that hard. For instance

if (file_exists($__oid.$__lp)) {

I'd be willing to bet that $__lp is a filename and $__oid is a pathname so doing a global replace with an editor would soon  start to make the code readable and undertsandable.

Similarly, $__i seems to be a simple index,  so and so forth.
Random Solutions  
 
programming4us programming4us