Seems simple, but it's taking me forever to work out - how in a rule do I set a date field to the current date?

Comments

mitchell’s picture

Status: Active » Fixed

From http://drupal.org/node/578418

return array(
0 => array('value' => strtotime("now")),
);

Oddly enough, it seems like the token module is missing that. See: #760050: Steal this module - Token Extra.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitchell’s picture

Component: Miscellaneous » Rules Core

Updated component.