Skip to Content
0
Former Member
Jan 31, 2011 at 02:27 PM

Mail notification: current timezone

32 Views

Hello.

We use notification activities with custom text containing information including dates.

The problem is that user, which will recieve mail, is set to particular timezone (for example, Europe/Moscow), but we recieve messages with dates like ''2011-02-01T14:01:47.354Z" (GMT format).

We use string expression "string(add-days-to-dateTime(current-dateTime(), 1))" as a variable for our date.

I understand that it will parse date into a string by default, but I have though it would use current user's locale and timezone but it did not.

Could you give me advice how to use current user's timezone and locale?

Best Regards,

Timur Semenchuk