title: Telegram bot Response: Date-Format
body: <p>I am trying to make my own bot right now. Now I am facing a small problem... When receiving messages via API the JSON looks like this:</p>
  
  <pre><code>   {
    "update_id": 297528782,
    "message": {
      "message_id": 2,
      "from": {
        "id": 148361373,
        "is_bot": false,
        "first_name": "yz",
        "username": "yz"
      },
      "chat": {
        "id": -403635451,
        "title": "bottest",
        "type": "group",
        "all_members_are_administrators": false
      },
      "date": 1583942557,
      "left_chat_participant": {
        "id": 1138406331,
        "is_bot": true,
        "first_name": "xxxxxxxxxbot",
        "username": "xxxxxxxxxbot"
      },
      "left_chat_member": {
        "id": 1138406331,
        "is_bot": true,
        "first_name": "xxxxxxxxxbot",
        "username": "xxxxxxxxxbot"
      }
    }
  }
  </code></pre>
  
  <p>How can I transform something like <code>("date":</code><strong><code>1583942557</code></strong><code>)</code> to something like dd-MM-YYYThh:mm?</p>
  
  <p>Thanks in advance</p>