Robby
 · Systems, Operations, & Productivity

Alright folks, I need some help. I'm using the following code to pull a date from a custom field (birth_month) turn it into a UNIX timestamp, add a year, then output the year-month-date so I can delay a visual automation until the custom field (next_birthday) date hits. The problem I'm having is that the "%s" is not pulling correctly and instead it's pulling the UNIX start date of 1970-01-01. It does successfully add a year. Am I missing a step, or is this possibly a bug? Code: {{ subscriber.birth_month | date: “%s” | plus: 31556926 | date: "%Y-%m-%d" }}. Thanks in advance.

3 replies