1

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?

1 Answer 1

1

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.

1
  • It will display it in default timezone, here I want to pass my different timezone to token.
    – Junaid
    Commented Apr 1, 2016 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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