"Now" Command entering a date in the future

Hi. I have multiple scenarios that use the date function Now to fill in a field on Salesforce with the current date and time. Our scenarios run at 7pm daily. For some reason when Make fills in the field they put the next day as the field.

I have checked our time zone settings and those are correct.

How can I fix this?

There are two time zone settings, one personal and one organizational.

Can you take a screenshot of both and upload it here?

For further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Our web and scenario time zones are setup to GMT-6:00. Sorry for lack of screenshots but we were able to fix our issue with the following entered.

{
“attributes” : {“type” : “Order”},
“id” : “{{11.Id}}”,
“Status” : “Exported”,
“Exported_Date__c” : “{{formatDate(now; “YYYY-MM-DD”; “America/Chicago”)}}”
}

2 Likes

Hello @Donna_Autrey welcome to the community :wave:

I just wanted to quickly say congrats on getting this up and running :clap: Thank you very much for jumping back here and sharing what did the final trick for you. This is super valuable and could be incredibly helpful to many others who are facing a similar situation :pray:

1 Like