Why are Marketing Cloud timestamps not stored in the same timezone as Sales Cloud?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have both Sales Cloud and Marketing Cloud connected and use data shared for a Journey when new records are created.
In my object that is triggered in the journey I have a Date/Time field which gets stored in SC in UTC, however in MC timezone settings are not stored in the field.
This means when using functions like SystemDateToLocalDate(@recordTimestamp)
returns the wrong time as it thinks the original date is in CST (the system timezone instead of UTC).
Is this expected behavior?
marketing-cloud marketing-cloud-connector timezone
add a comment |
I have both Sales Cloud and Marketing Cloud connected and use data shared for a Journey when new records are created.
In my object that is triggered in the journey I have a Date/Time field which gets stored in SC in UTC, however in MC timezone settings are not stored in the field.
This means when using functions like SystemDateToLocalDate(@recordTimestamp)
returns the wrong time as it thinks the original date is in CST (the system timezone instead of UTC).
Is this expected behavior?
marketing-cloud marketing-cloud-connector timezone
add a comment |
I have both Sales Cloud and Marketing Cloud connected and use data shared for a Journey when new records are created.
In my object that is triggered in the journey I have a Date/Time field which gets stored in SC in UTC, however in MC timezone settings are not stored in the field.
This means when using functions like SystemDateToLocalDate(@recordTimestamp)
returns the wrong time as it thinks the original date is in CST (the system timezone instead of UTC).
Is this expected behavior?
marketing-cloud marketing-cloud-connector timezone
I have both Sales Cloud and Marketing Cloud connected and use data shared for a Journey when new records are created.
In my object that is triggered in the journey I have a Date/Time field which gets stored in SC in UTC, however in MC timezone settings are not stored in the field.
This means when using functions like SystemDateToLocalDate(@recordTimestamp)
returns the wrong time as it thinks the original date is in CST (the system timezone instead of UTC).
Is this expected behavior?
marketing-cloud marketing-cloud-connector timezone
marketing-cloud marketing-cloud-connector timezone
edited 13 hours ago
Deployment Failure
asked 13 hours ago
Deployment FailureDeployment Failure
1,38092858
1,38092858
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes this is expected. Server times for ExactTarget/Marketing Cloud is in CST: Central Standard Time (UTC minus six hours) and also the server time does not change with standard versus daylight savings time.
There are some weird behaviors with different stacks. Apparently Stack 4 is in US Mountain time (UTC minus 7 hours).
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was09/29/2016 00:00 AM
in SC, it would be stored as09/28/2016 07:00 PM
in MC, but from my testing its not its still09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.
– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was2019/04/14 8:15:00 AM
, this is stored as2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored asApr 14 2019 7:15AM
, this is also the value queried out as a string.
– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored2:15AM
instead of7:15AM
.
– Deployment Failure
11 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "459"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f257650%2fwhy-are-marketing-cloud-timestamps-not-stored-in-the-same-timezone-as-sales-clou%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes this is expected. Server times for ExactTarget/Marketing Cloud is in CST: Central Standard Time (UTC minus six hours) and also the server time does not change with standard versus daylight savings time.
There are some weird behaviors with different stacks. Apparently Stack 4 is in US Mountain time (UTC minus 7 hours).
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was09/29/2016 00:00 AM
in SC, it would be stored as09/28/2016 07:00 PM
in MC, but from my testing its not its still09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.
– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was2019/04/14 8:15:00 AM
, this is stored as2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored asApr 14 2019 7:15AM
, this is also the value queried out as a string.
– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored2:15AM
instead of7:15AM
.
– Deployment Failure
11 hours ago
add a comment |
Yes this is expected. Server times for ExactTarget/Marketing Cloud is in CST: Central Standard Time (UTC minus six hours) and also the server time does not change with standard versus daylight savings time.
There are some weird behaviors with different stacks. Apparently Stack 4 is in US Mountain time (UTC minus 7 hours).
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was09/29/2016 00:00 AM
in SC, it would be stored as09/28/2016 07:00 PM
in MC, but from my testing its not its still09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.
– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was2019/04/14 8:15:00 AM
, this is stored as2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored asApr 14 2019 7:15AM
, this is also the value queried out as a string.
– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored2:15AM
instead of7:15AM
.
– Deployment Failure
11 hours ago
add a comment |
Yes this is expected. Server times for ExactTarget/Marketing Cloud is in CST: Central Standard Time (UTC minus six hours) and also the server time does not change with standard versus daylight savings time.
There are some weird behaviors with different stacks. Apparently Stack 4 is in US Mountain time (UTC minus 7 hours).
Yes this is expected. Server times for ExactTarget/Marketing Cloud is in CST: Central Standard Time (UTC minus six hours) and also the server time does not change with standard versus daylight savings time.
There are some weird behaviors with different stacks. Apparently Stack 4 is in US Mountain time (UTC minus 7 hours).
answered 12 hours ago
Jackson ChenJackson Chen
569118
569118
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was09/29/2016 00:00 AM
in SC, it would be stored as09/28/2016 07:00 PM
in MC, but from my testing its not its still09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.
– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was2019/04/14 8:15:00 AM
, this is stored as2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored asApr 14 2019 7:15AM
, this is also the value queried out as a string.
– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored2:15AM
instead of7:15AM
.
– Deployment Failure
11 hours ago
add a comment |
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was09/29/2016 00:00 AM
in SC, it would be stored as09/28/2016 07:00 PM
in MC, but from my testing its not its still09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.
– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was2019/04/14 8:15:00 AM
, this is stored as2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored asApr 14 2019 7:15AM
, this is also the value queried out as a string.
– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored2:15AM
instead of7:15AM
.
– Deployment Failure
11 hours ago
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was
09/29/2016 00:00 AM
in SC, it would be stored as 09/28/2016 07:00 PM
in MC, but from my testing its not its still 09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.– Deployment Failure
12 hours ago
This is weird because their documentation says otherwise: help.salesforce.com/…. In the documentation it gives an example where if the date was
09/29/2016 00:00 AM
in SC, it would be stored as 09/28/2016 07:00 PM
in MC, but from my testing its not its still 09/29/2016 00:00 AM
. In my test I simply queried out the data extension and stored to a text field which should bypass any UI time offsets.– Deployment Failure
12 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
That's interesting. So what timezone are you seeing in MC?
– Jackson Chen
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was
2019/04/14 8:15:00 AM
, this is stored as 2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored as Apr 14 2019 7:15AM
, this is also the value queried out as a string.– Deployment Failure
11 hours ago
The account is set to GMT * (The * indicates its observing DST so its really BST). So for example a date I stored was
2019/04/14 8:15:00 AM
, this is stored as 2019/04/14 7:15:00 AM
in SC as they store all timestamps in UTC. In my data extension inside MC this is stored as Apr 14 2019 7:15AM
, this is also the value queried out as a string.– Deployment Failure
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
See this quote in the same link you provided "Ensure that you use the proper offset when manipulating date and time information synchronized from the Sales Cloud to the Marketing Cloud." My interpretation is that they are telling us the date is stored in CST in MC in the event you are manipulating the data after it gets to MC. It's telling you that it is NOT stored in GMT as it is on SFDC. In other words, while the numbers are different, those both represent the exact same time.
– Jackson Chen
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored
2:15AM
instead of 7:15AM
.– Deployment Failure
11 hours ago
How I've interpreted that last line is that we must use offsets get back to the original timezone and this would be totally fine if the times stored between SC and MC were different. But they're not, they are the same values, just in MC its assumed that timezone is CST. The documentation states it will actually store whatever the converted CST time is. In my example above it should have stored
2:15AM
instead of 7:15AM
.– Deployment Failure
11 hours ago
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f257650%2fwhy-are-marketing-cloud-timestamps-not-stored-in-the-same-timezone-as-sales-clou%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown