It is connected to my previous issue, http://drupal.org/node/1386476.

Using a text variable = date in proper format (YYYY-MM-DD), it is possible to transform it to the timestamp using Rules Transformers. For expample if this variable is represented by [date-text-added] token, proper time is returned of today as default parameter: Time, now().

However, I need use [date-text-added] token as a variable in the Transformer, with Midnight instead of now(), i. e. I would like to make Transform "date-text-added, Midnight" to timestamp.

How should i write this in the direct input mode?

BTW, the question relates to many other tokens...

Comments

TR’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

If you continue to have a problem with this in the current version of Rules please open a new issue.