There is a Date Field whose value is I gave as 15th Oct 2014. When I insert the same, Is this an absolute time value irrespective of any Time-Zone; does it matter who inserted the Date field?
I have user X from timezone: GMT 05:30 and another user Y from timezone: GMT -8:00.
We both insert two records of an SObject called 'DateObject
' that has a Date field called datefield__c
.
Does it store differently if X wrote this statements instead of Y?
Date myDate = Date.valueOf('2012-12-25 00:00:00');
insert myDate;
Please clarify. Thanks