User Tools

Site Tools


apps:zabbix:preprocessing

Zabbix - Preprocessing

Cookbook

ISO8601 to unixtime

InputOutput
2024-07-04T13:03:44.624+00:001720098224
2024-08-18T19:44:47+02:001724003087
2024-08-18 19:48:061724010486
2024-08-181723939200

Supported Date time string format for input.

const date = new Date(value);
const epoch = Math.floor(date.getTime()/1000);
return(epoch);

Type of information: Numeric (unsigned) Units: unixtime

Dukweb.js Example

apps/zabbix/preprocessing.txt · Last modified: 2024-08-18 23:25 by Manuel Frei