Content-Length: 249379 | pFad | http://github.com/eclipse-paho/paho.mqtt.python/issues/888

9C How to convert timestamp from MQTTmessage into current datetime · Issue #888 · eclipse-paho/paho.mqtt.python · GitHub
Skip to content

How to convert timestamp from MQTTmessage into current datetime #888

Open
@mitchell-pioneer

Description

@mitchell-pioneer

In the mosquitto documenation is says

log_timestamp_format format
Set the format of the log timestamp. If left unset, this is the number of seconds since the Unix epoch.

But I got this value looking at a messages for today 140224139

But the Unix epoch time is 1744760934 . So 140224139 can't be correct.

How can I convert this messages to a valid datetime?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AvailableNo one has claimed responsibility for resolving this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/eclipse-paho/paho.mqtt.python/issues/888

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy