Hi,
I am working on an on-premise upgrade from CRM 2015 to CRM 2016. In the 2016 dev environment we have identified a few fields that need to be changed to 'Date Only'.
Initial value of date field.
CRM : 01/01/2016
SQL : 31/12/2015 1:00 PM.
After updating the field to date-only in the Dev environment, the values are as under:
CRM : 31/12/2015
SQL : 31/12/2015 1:00 PM
I than ran a batch job based on sample code provided here:
CRM : 01/01/2016
SQL : 01/01/2016 12:00 AM
All of the above is working as expected. The problem arises when I try to now import this solution into my test environment with the date field updated as 'Date Only'.
Same date field in the 'Test' environment:
Before Importing solution from dev (This still has the date as user local).
CRM : 01/01/2016
SQL : 31/12/2015 1:00 PM.
After Importing solution from Dev:
CRM : 31/12/2015
SQL : 31/12/2015 12:00 AM
As soon as I import the solution into test, the date gets set back by 1 day. Am I doing something wrong here? Are the fields meant to be updated manually in each environment, and not through a solution import?
Please Advise