Integromat Date & Time Functions [2022 Tutorial]

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 49

  • @filipesamuelpereira8965
    @filipesamuelpereira8965 ปีที่แล้ว

    Thank you very much!! I am a Brazilian and this video literally save me

  • @HevinMontoya
    @HevinMontoya 10 หลายเดือนก่อน

    This is a video that is very helpful! It still works in "Make".

  • @yofredgs
    @yofredgs ปีที่แล้ว

    Muchas gracias bro! Me ayudó!

  • @endrust
    @endrust ปีที่แล้ว

    Thanks Max!

  • @taciusa
    @taciusa ปีที่แล้ว

    saved me! Thx bro, i was stuck

  • @MarioFoyes
    @MarioFoyes ปีที่แล้ว

    Thanks for your help... it was even better than gpt's answer 😜

  • @mohamedazzouz6086
    @mohamedazzouz6086 ปีที่แล้ว

    Hi Max, is it possible to set up a filter using start and end times in the current day?

  • @personalwealthpulse
    @personalwealthpulse 3 ปีที่แล้ว

    Great tutorial.

  • @sairayaqub6091
    @sairayaqub6091 3 ปีที่แล้ว

    How to apply filter for boolean?

  • @juanivallejoss
    @juanivallejoss 2 ปีที่แล้ว

    Hi! I would like to send an email the day before of a cell value (date) on a google sheet. I'm not being able to. what do yuo suggest?

  • @andrewamina
    @andrewamina 3 ปีที่แล้ว

    Great video! I'm trying to add an entry to a Notion database for each calendar event in my MS365 calendar, but can only figure out how to get it to add a new record each time a new calendar event it created. Same process for google calendar to google sheets I imagine, if that is a more common use-case. Can I trigger something like: every morning or every hour, create a record for every event on the calendar that doesn't already exist in the Notion table so that it picks up the loads of events that are already on my calendar and recurring events?

  • @miguelangelfernandez4099
    @miguelangelfernandez4099 2 ปีที่แล้ว

    I have learned a lot! I want to calculate the latest date based on a condition. I have tried the function MAX but it only works with numbers not dates. Which function would you use?

    • @maxvcollenburg
      @maxvcollenburg  2 ปีที่แล้ว

      Hey Miguel! What do you want to calculate with the latest date exactly? How many days/hours have passed?

    • @miguelangelfernandez4099
      @miguelangelfernandez4099 2 ปีที่แล้ว

      @@maxvcollenburg I want to send a courtesy email to any client whose last purchase is older than 1 month (30 days). Thanks beforehand!

    • @maxvcollenburg
      @maxvcollenburg  2 ปีที่แล้ว

      @@miguelangelfernandez4099 you could convert the purchase date to a unix timestamp, and the current date to a unix timestamp. Then, subtract the purchase unix by the current date unix.
      That will give you the amount of seconds since their purchase. You can then divide that by 86400 to get the amount of days since purchase.
      Hope that helps!
      Alternatively, you could also schedule the email 30 days into the future whenever they purchase something. Maybe that's easier to manage.

    • @miguelangelfernandez4099
      @miguelangelfernandez4099 2 ปีที่แล้ว

      @@maxvcollenburg Thank you very much! I wouldn't ever come to that solution.

  • @conexteo8877
    @conexteo8877 3 ปีที่แล้ว

    Hi !! Thanks for the video.
    I am trying this tutorial in order to get a reminder from a meeting (in Google Cal). I am using the Watch events by Starting Date, adding a day, but I still get the reminder from the day of the meeting and not the day before. Can you help me?

  • @AbhishekAlekar
    @AbhishekAlekar 2 ปีที่แล้ว

    Hey Max, How can we add time (current time) to date. if date is only specified as a parameter.

  • @jongensvandephotobooth1222
    @jongensvandephotobooth1222 2 ปีที่แล้ว

    Hey Max
    Great video, helped a lot.
    Is there a way to specify in code that I want to run it in certain timeframes?
    for example business days from 9-5 run
    business days from 5-9 run something else
    weekends run last script

    • @maxvcollenburg
      @maxvcollenburg  2 ปีที่แล้ว

      Heyhey! If there's a scheduled start trigger, you can set it to run the scenario only during those times. You'll find it under the 'advanced' settings of the schedule setting.

  • @szabojanos4410
    @szabojanos4410 3 ปีที่แล้ว

    Max! When will be your personal Integromat Mastery Course?

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว +2

      Haha, I'm actually working on one.
      I hope to have it ready in 3-4 weeks.

    • @szabojanos4410
      @szabojanos4410 3 ปีที่แล้ว

      @@maxvcollenburg Thank You! We are waiting.

  • @johnrodrigueznow
    @johnrodrigueznow 2 ปีที่แล้ว

    Thank you Max - How would you calculate the age of someones birthdate?

    • @maxvcollenburg
      @maxvcollenburg  2 ปีที่แล้ว

      Hey John! I'm not sure if this is the best solution, but this is what I have been using:
      1. You format the birthday to a Unix Timestamp.
      2. Format the current date & time to a Unix Timestamp.
      3. Subtract the unix timestamp of the birthday from unix timestamp of the current date & time. This will give you the amount of seconds since the birthday.
      4. Divide that amount by 31536000, which gives you the amount of years.
      5. Use the floor() function to round it down.
      Hope that helps! Email me if you would like a screenshot of the formula 🙂

    • @Aleksandra-go9sv
      @Aleksandra-go9sv ปีที่แล้ว

      @@maxvcollenburg could you send me a screenshot of the formula? Thanks

  • @piotrula7
    @piotrula7 ปีที่แล้ว

    On the 10th of each month I send a report for the previous month...so I need to have the name of the previous month in the title of the email. What will be the correct formula in this case?

    • @maxvcollenburg
      @maxvcollenburg  ปีที่แล้ว +1

      This formula will give you the month name of last month 🙃
      {{formatDate(addMonths("now"; -1); "MMMM")}}
      Hope that helps!

  • @ronlee4842
    @ronlee4842 3 ปีที่แล้ว

    How do you set filter if the record is equal to today?

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว +1

      Hey Ron! I think the easiest way is to format the date you want to check to MM/DD/YYYY and then also format the now variable to MM/DD/YYYY.
      Then, you can easily compare if it's equal to today's date.

  • @EnricoTech
    @EnricoTech 3 ปีที่แล้ว

    Is there a metod to put the name of the day (dddd) in other language?

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว

      Not that I know of, at least not out of the box.
      But I've used the replace() function in the past to replace the English names by Dutch names.
      Or you could try to use the Google Translate module.
      Hope that helps!

    • @EnricoTech
      @EnricoTech 3 ปีที่แล้ว

      @@maxvcollenburg Useful! Thanks

    • @EnricoTech
      @EnricoTech 3 ปีที่แล้ว

      @@maxvcollenburg Can you tell me how and in what module you use replace() function?

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว

      You'll first have to use the formatDate() function to get the current day of the week in English:
      formatDate(now; "dddd")
      And then you use the replace function to replace all the days of the week by your language:
      {{replace(replace(replace(replace(replace(replace(replace(formatDate(now; "dddd"); "Monday"; "maandag"); "Tuesday"; "dinsdag"); "Wednesday"; "woensdag"); "Thursday"; "donderdag"); "Friday"; "vrijdag"); "Saturday"; "zaterdag"); "Sunday"; "zondag")}}
      It's a bit of a long formula, but it works.
      And you can then use it it whatever module you want (in an email module for example) 🙃
      Hope that helps!

    • @EnricoTech
      @EnricoTech 3 ปีที่แล้ว

      @@maxvcollenburg Fantastic, very nice.

  • @WiseTech3
    @WiseTech3 3 ปีที่แล้ว

    How can i get the last date of next month? suppose, Today is 6/8/2021 now I need the last date of this month, like: 6/30/2021. what if the month is February/ March/May? how can I get the last date of a month?

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว +2

      Hey Shraban!
      I think the easiest way is to first use the setDate() function to get the first day of this month, and then use the addDays() function to subtract one day.
      That will give you the last day of last month.
      The formula looks like this, you can copy and paste it into Integromat if you like:
      {{addDays(setDate(now; 1); -1)}}
      If you want to format it to MM/DD/YYYY, then you can use the formatDate() function:
      {{formatDate(addDays(setDate(now; 1); -1); "MM/DD/YYYY")}}
      Hope that helps! 🙌

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว +3

      Ah, sorry. I see that I read your question wrong. You want to get the last day of this month, not of last month.
      That works very similar:
      1) Use the addMonths function to add one month.
      2) Use the setDate function to get the date of the first day of the month.
      3) Subtract one day to get the last date of this month.
      Formula looks like this:
      {{addDays(setDate(addMonths(now; 1); 1); -1)}}

  • @TransformationWithinYou
    @TransformationWithinYou 3 ปีที่แล้ว

    Do more ActiveCampaign videos u.u

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว

      Any ActiveCampaign tutorials in particular you would like to see? 🙃

  • @jeremymurphy7475
    @jeremymurphy7475 3 ปีที่แล้ว

    Any idea...WTH this is............ 12 hours of learning has yielded NOTHING..... Update Airtable Record.....ERROR = Invalid date in parameter

    • @maxvcollenburg
      @maxvcollenburg  3 ปีที่แล้ว

      Hey Jeremy! I haven't used Airtables, but maybe you're entering the date in the wrong format?

    • @jeremymurphy7475
      @jeremymurphy7475 3 ปีที่แล้ว

      @@maxvcollenburg Just my anger got in the way........... 3 days in and 2 aneurysms later.... I figured it out..Thank you for your reply and videos... I am a fan