Dear community
I want to get RSS feed items not older then 1 day:
wondering if this is the correct way to do it.
the publication date is formatted like this’
Dear community
I want to get RSS feed items not older then 1 day:
wondering if this is the correct way to do it.
the publication date is formatted like this’
Hey @Karim_El_Baze
Your filter is correct but needs to match the time also. You can use more functions over this like setHours() and others.
Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation
Thank for your reply and suggestion.
I assume its this correct? Otherwise I am not sure what you mean with timestamp matching
You can use setHours() setMinutes() function over dates to make the time equal for compare.
Suppose, {{now}} date at the time of running is 17-01-2025 07:53:21 and so once you will subtract 1 day from it, it will give 16-01-2025 07:53:21 so it will give all the records from after this date and time and will skip if any record exist before this i.e at 17-01-2025 05:53:21
Hence, we use setHours() to set custom hours and setMinutes() to set custom minutes as below.
{{setHours(addDays(now);-1);12)}}
Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation
Hey @Karim_El_Baze
It should look like this
Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation