Answers.Body: <p>You are on the right track with using now in field comparision. See my Question and Answer <a href="https://civicrm.stackexchange.com/questions/11814/civicrm-rules-condition-for-contacts-created-x-days-ago">here</a>. </p>
  
  <ul>
  <li><p><strong>trigger:</strong> <em>daily trigger for group members</em> </p></li>
  <li><p><strong>condition:</strong> <em>field value comparison</em> for a date, datetime or timestamp field, where you can use any string recognized by the php function strtotime. So you should be able to use now as explained in the <a href="http://php.net/manual/en/datetime.formats.relative.php" rel="nofollow noreferrer">PHP documentation</a>. In your case i would use <strong>"+5 days"</strong> as the comparison value.</p></li>
  </ul>
  
  <p>After saving the condition the description should show Contact.custom_127 = 2016-05-19 (date when you saved the condition.)</p>
  
  <p>Hint: use the latest CiviRules from Github, as support for timestamps was added a few days ago.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-19T08:27:06.543Z
Answers.Text: Alain - thanks so much for that information. I look forward to giving it  work through soon.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-19T04:09:56.570Z
Answers.LastActivityDate: 2016-05-19T04:09:56.570Z
Answers.LastEditDate: 2017-04-13T12:53:13.207Z
Answers.UserDisplayName: Alain Schaefer
Answers.Body: <p>Normally, you need something to happen, so that you have something to react to.</p>
  
  <p>But, there is two options for handling this differently.</p>
  
  <p><strong>1. Manually:</strong></p>
  
  <p>Tag a contact. If you have a CiviRule build with the trigger Contact is tagged, you could let CiviRules do anything you want, if you tag the contact.</p>
  
  <p><strong>2. Daily and automatically</strong></p>
  
  <p>To cover for the cases where there is no trigger actually happen. Like a contact that has NOT contributed for the last three months. Then the trigger could be "daily group check." (And the conditions of no contributions last three months). This is connected to a cron job, that runs once a day, and then "creates" the trigger action needed for a CiviRule to run.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-18T08:36:54.493Z
Answers.LastActivityDate: 2016-05-18T08:36:54.493Z
Answers.UserDisplayName: Flying
Body: <p>Client is thinking about several date fields for a contact eg, when are they available to start volunteering' and want an alert for it. My presumption was 'oh let's do it with Activities' but actually I wondered if CiviRules could do this.</p>
  
  <p>I ran a test and saw I can use Field value comparison, and set the field to 'is equal to' - but assume that NOW won't work out-of-the-box but happy to be told otherwise. </p>
  
  <p>Assuming not, can you give me a pointer or know if this has been tried and is 'too hard basket'?</p>
  
  <p>EDIT: so a custom field shows 'date i am available to volunteer' for a volunteer which will be sometime in the future. And the Admin want to get a reminder/notification say 5 days before that date is reached.</p>
  
  <p>So I think the Linked Condition is eg Condition = Field value comparison, and Description is Contact.custom_127 = NOW</p>
  
  <p>And Linked Action would be:
  Add Activity to Contact. Type: Email. Status:Scheduled. Subject: check availability. Assignee: Peter DavisFZ</p>
  
  <p>BUT if it ends up needing to be an Activity then I can also think about creating it at the outset on the form.</p>
  
  <p>Reason I wondered about CiviRules is that I though "ha, with civicrm entity I can probably trigger a notification directly via Drupal Rules", and then i remembered CiviRules and wanted to find out more of what it could do ;-)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-18T08:40:41.517Z
Comments.Text: Could you elaborate a bit more on your use case? A bit hard to understand? To ask in CiviRule-terms, do you want an alert (action), when some criterias are met(condition), but are not sure what should trigger it(trigger)?
Comments.UserDisplayName: Flying
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-18T09:35:19.303Z
Comments.Text: Like Pete and Flying suggested, it helps if you explain a little more about what you are trying to achieve. There has been a fix for date comparison, not sure if it does NOW out of the box. But there might be other answers to if you explain a little more.
Comments.UserDisplayName: ErikH - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-18T09:46:59.437Z
Comments.Text: hope my edit helps
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-20T04:56:57.143Z
Comments.Text: Could you use - 1 day, instead of NOW? From your use case, I would think it would be better to be alarmed a couple of days before. And as @Alain Schaefer explains, he has developed functionality that can help with that already
Comments.UserDisplayName: Flying
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-20T07:07:42.780Z
Comments.Text: yes. i am not attached to NOW at all. just from a drupal sense, if something copes with 'NOW' then it copes also with - 5 days etc. will give this a try soon as i can get back to it
Comments.UserDisplayName: petednz - fuzion
Tags: <civirules><dates>
Title: Can civirules be triggered off a custom field of type date for eg Date equals Now
ThreadText: # Can civirules be triggered off a custom field of type date for eg Date equals Now
  
  (Asked by: username_0 on 2016-05-18)
  
  Client is thinking about several date fields for a contact eg, when are they available to start volunteering' and want an alert for it. My presumption was 'oh let's do it with Activities' but actually I wondered if CiviRules could do this.
  
  I ran a test and saw I can use Field value comparison, and set the field to 'is equal to' - but assume that NOW won't work out-of-the-box but happy to be told otherwise.
  
  Assuming not, can you give me a pointer or know if this has been tried and is 'too hard basket'?
  
  EDIT: so a custom field shows 'date i am available to volunteer' for a volunteer which will be sometime in the future. And the Admin want to get a reminder/notification say 5 days before that date is reached.
  
  So I think the Linked Condition is eg Condition = Field value comparison, and Description is Contact.custom\_127 = NOW
  
  And Linked Action would be:
  Add Activity to Contact. Type: Email. Status:Scheduled. Subject: check availability. Assignee: Peter DavisFZ
  
  BUT if it ends up needing to be an Activity then I can also think about creating it at the outset on the form.
  
  Reason I wondered about CiviRules is that I though "ha, with civicrm entity I can probably trigger a notification directly via Drupal Rules", and then i remembered CiviRules and wanted to find out more of what it could do ;-)
  
  **Tags:** civirules, dates
  
  > **Comments:**
  > **username_1**: Could you elaborate a bit more on your use case? A bit hard to understand? To ask in CiviRule-terms, do you want an alert (action), when some criterias are met(condition), but are not sure what should trigger it(trigger)?  
  > **username_2**: Like Pete and username_1 suggested, it helps if you explain a little more about what you are trying to achieve. There has been a fix for date comparison, not sure if it does NOW out of the box. But there might be other answers to if you explain a little more.  
  > **username_0**: hope my edit helps  
  > **username_1**: Could you use - 1 day, instead of NOW? From your use case, I would think it would be better to be alarmed a couple of days before. And as @username_3 explains, he has developed functionality that can help with that already  
  > **username_0**: yes. i am not attached to NOW at all. just from a drupal sense, if something copes with 'NOW' then it copes also with - 5 days etc. will give this a try soon as i can get back to it  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2016-05-19. Score: 3
  
  You are on the right track with using now in field comparision. See my Question and Answer [here](https://civicrm.stackexchange.com/questions/11814/civicrm-rules-condition-for-contacts-created-x-days-ago).
  
  * **trigger:** *daily trigger for group members*
  * **condition:** *field value comparison* for a date, datetime or timestamp field, where you can use any string recognized by the php function strtotime. So you should be able to use now as explained in the [PHP documentation](http://php.net/manual/en/datetime.formats.relative.php). In your case i would use **"+5 days"** as the comparison value.
  
  After saving the condition the description should show Contact.custom\_127 = 2016-05-19 (date when you saved the condition.)
  
  Hint: use the latest CiviRules from Github, as support for timestamps was added a few days ago.
  
  > **Comments:**
  > **username_0**: Alain - thanks so much for that information. I look forward to giving it  work through soon.  
  
  ---
  
  ### Answer by username_1 on 2016-05-18. Score: 1
  
  Normally, you need something to happen, so that you have something to react to.
  
  But, there is two options for handling this differently.
  
  **1. Manually:**
  
  Tag a contact. If you have a CiviRule build with the trigger Contact is tagged, you could let CiviRules do anything you want, if you tag the contact.
  
  **2. Daily and automatically**
  
  To cover for the cases where there is no trigger actually happen. Like a contact that has NOT contributed for the last three months. Then the trigger could be "daily group check." (And the conditions of no contributions last three months). This is connected to a cron job, that runs once a day, and then "creates" the trigger action needed for a CiviRule to run.
  
  
  ---
  
  