Put value and timestamp together in a Gauge - Zabbix Plugin

Hello all,

How can I add timestamp together with measurements in a Gauge or Stat, for example? I want to know when that value shown in gauge was measured.