Getting ”Human” (ISO8601) DateTime Stamps From dnsdbq JSON Lines-Formatted Output

dnsdbq is a popular command-line client for accessing the DNSDB API. dnsdbq can produce output in presentation format, CSV format, or JSON lines format. One issue that users sometimes run into when using the JSON lines format is that timestamps in the JSON lines format are left “raw," in "Unix epoch seconds." For example, let’s look at one record from DNSDB for www.reed.edu in JSON lines format:
$ dnsdbq -r www.reed.edu -j -l 1
{"count":897725,"time_first":1277399572,"time_last":1540409659,"rrname":"www.reed.edu.","rrtype":"A","bailiwick":"reed.edu.","rdata":["134.10.2.252"]}
While there’s nothing "wrong" or "improper" about timestamps expressed as Unix epoch seconds, many of us will prefer to convert them to a more easily read format, such as the ISO8601datetime format.

Link: https://dzone.com/articles/getting-quothumanquot-iso8601-datetime-stamps-from?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev