Our site is having users from different timezones and we are sending event notification emails using rules. We need to specify the event date-time in addressee's timezone.

So, is there any way to specify the the timezone within/along with date-time token?

Or, should I introduce a custom token for this purpose?


You can try date token with custom date formatting

[entity:field-event-date:custom:m/d/y T]

replace entity with appropriate token (node, etc.), and insert the name of your date field.

Refer to PHP:date - Manual for custom date formats.

| improve this answer | |
  • It will display it in default timezone, here I want to pass my different timezone to token. – Junaid Apr 1 '16 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.