Skip to main content
added 19 characters in body; edited tags; edited title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

format Format date in Rules

i'm havingI'm using a Rulerule to send out email after an event ofemails when a node event is created. Under Action of my ruleAction and Message bodyMessage body, iI insert [node:field_calendar_date]. i would then receive this 2012The token is replaced with (for example) "2012-12-14T08:00:0000" in mythe email message.

, but I would like for it to be like Fridayreplaced with "Friday, December 14, 48:00pm00am" (same date, but a different format).

iI tried to follow format_date() but, but it doesn't work.

i must useHow can I get the wrong syntax. any help would be great.format I want?

format date in Rules

i'm having a Rule to send out email after an event of node event is created. Under Action of my rule and Message body, i insert [node:field_calendar_date]. i would then receive this 2012-12-14T08:00:00 in my email message.

I would like for it to be like Friday, December 14, 4:00pm

i tried to follow format_date() but it doesn't work.

i must use the wrong syntax. any help would be great.

Format date in Rules

I'm using a rule to send out emails when a node is created. Under Action and Message body, I insert [node:field_calendar_date]. The token is replaced with (for example) "2012-12-14T08:00:00" in the email message, but I would like it to be replaced with "Friday, December 14, 8:00am" (same date, but a different format).

I tried to follow format_date(), but it doesn't work.

How can I get the format I want?

added 20 characters in body; edited tags
Source Link
niksmac
  • 7.7k
  • 3
  • 31
  • 69

i'm having a Rule to send out email after an event of node event is created. Under Action of my rule and Message body, i insert [node:field_calendar_date]. i would then receive this 2012-12-14T08:00:00 in my email message. i

I would like for it to be like Friday, December 14, 4:00pm

i tried to follow format_date() http://api.drupal.org/api/drupal/includes%21common.inc/function/format_date/7 butformat_date() but it doesn't work.

i must use the wrong syntax. any help would be great.

i'm having a Rule to send out email after an event of node event is created. Under Action of my rule and Message body, i insert [node:field_calendar_date]. i would then receive this 2012-12-14T08:00:00 in my email message. i would like for it to be like Friday, December 14, 4:00pm

i tried to follow format_date() http://api.drupal.org/api/drupal/includes%21common.inc/function/format_date/7 but it doesn't work.

i must use the wrong syntax. any help would be great.

i'm having a Rule to send out email after an event of node event is created. Under Action of my rule and Message body, i insert [node:field_calendar_date]. i would then receive this 2012-12-14T08:00:00 in my email message.

I would like for it to be like Friday, December 14, 4:00pm

i tried to follow format_date() but it doesn't work.

i must use the wrong syntax. any help would be great.

Source Link

format date in Rules

i'm having a Rule to send out email after an event of node event is created. Under Action of my rule and Message body, i insert [node:field_calendar_date]. i would then receive this 2012-12-14T08:00:00 in my email message. i would like for it to be like Friday, December 14, 4:00pm

i tried to follow format_date() http://api.drupal.org/api/drupal/includes%21common.inc/function/format_date/7 but it doesn't work.

i must use the wrong syntax. any help would be great.