Pipelines now function not working

rule “set timestamp”
when
true
then
let new_date = now(“ASIA_HONGKONG”);
set_field(“Datetime”, new_date);
end

Hi I try to add in current datetime in a new field, but the timezone value is not work, it only slow UTC datetime, pls help.

image

“ASIA_HONGKONG” is not a valid timezone identifier. See http://joda-time.sourceforge.net/timezones.html for a list of valid timezones.

image

image

Hi Jo,

I try “Asia/Hong_Kong”, but seem not work, pls help.

Thank You.

Br,
Steve

It’s all working as expected.

Please be aware that all date fields except “timestamp” are displayed with timezone “UTC” (see trailing “Z” in the “Datetime” field).

Also see:

But when I export all logging to CVS, the timestamp is show in UTC? is there any way to fix this?

image

No, it will always be an ISO 8601 timestamp with timezone UTC.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.