You are here

function rb_misc_action_integer_to_date in Rules Bonus Pack 7

The 'rb_misc_action_integer_to_date' action.

File

./rb_misc.rules.inc, line 796
Miscellaneous conditions and actions for Rules.

Code

function rb_misc_action_integer_to_date($integer) {

  // Possibly simplest action so far!
  return array(
    'date' => $integer,
  );
}