Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft CRM date / time setting (modification date)

Status
Not open for further replies.

tuigvlieg

Programmer
Feb 9, 2005
26
NL
Hi,

We are using CRM version 1.2. Since a while we seem to have an issue with the modification date / time in the sql database.

We are using the dutch regional settings on the SQL server. When updating timezone in CRM we do not see any change in the modification date on the SQL server. We encounter a difference of 2 hours between modification date / time and the modification date / time expected from the SQL server.

How can we kill the discrepant in time. All help will be appriciated.
 
We have MS CRM v3 and in this version, all date-time fields are stored in GMT time, which may explain your +2 hour discrepancy in v1.2 (ours in Toronto is -4 hours).

On our reporting server (we use IBI WebFOCUS) I've added the following code to query the registry to determine the Time zone that the server is on and the number of hours to offset GMT to get the correct time:

REG QUERY HKLM\SYSTEM\CURRENTCONTROLSET\CONTROL\TIMEZONEINFORMATION /V ACTIVETIMEBIAS

I hope this helps a little.

Thanks,

Francis.
 
CRM 1.2 is the same as 3.0 in that it stored all times in GMT format. The interface then takes your regional settings and adjusts the time etc.

Are your CRM Web and SQL in the same timezone?

====================================
John O'Donnell
Microsoft CRM MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top