Ad Widget

Collapse

Date/time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stage
    Member
    • Sep 2009
    • 34

    #1

    Date/time

    Hi, I’m trying Ireport now to generate reports.

    I don’t have the ultimate manual yet, but I like to now how I convert the Unix date to a read able date. I thought to us the Mysql function “DATE_FORMAT()” but that doesn’t work.

    So my question is what (ireport)function can I use to convert de date/time field
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    This link should help
    http://dev.mysql.com/doc/refman/5.1/...functions.html

    The specific function you are looking for is FROM_UNIXTIME()
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • zabbix_zen
      Senior Member
      • Jul 2009
      • 426

      #3
      Hi stage.

      Considering you're building a fresh iReport integration with Zabbix, would you mind sharing your experiences in a cookbook form in a few weeks?

      This is a fairly common issue and would be helpful to Zabbix users with reports generation needs.

      Comment

      Working...