I currently have two auto-actions that does some date checking.
One that reads:
[cb:parse function="time"][cb:date format="Y-m-d" /][/cb:parse] EQUAL TO [cb:parse function="time"][cb:date format="Y" /]-11-30[/cb:parse]
The other reads:
[cb:parse function="time"][cb:date format="Y-m" /][/cb:parse] EQUAL TO [cb:parse function="time"][cb:date format="Y" /]-12[/cb:parse]
Is it possible to combine them, ie date later than or on the 30/11 of each year?
I actually have a third line checking if it's january, and do the same work, maybe it would be easier to check it reverse, ie not in the periode of 1/2->29/11?
Best regards
Fribse
Frømandsklubben Nikon,
www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 7 years 11 months ago by krileon. Reason: Added [SOLVED] tag to subject
Your first condition should do as you're wanting if changed to Greater Than or Equal To. As it'd be checking if the current year, month, and day is greater than or equal to current year November 30th.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Frømandsklubben Nikon,
www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.