Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How to convert epoch seconds to human-readable time? #29526
    Eric Pement
    Participant

    David, thanks for the suggestion, but it inserts the string “Invalid Date” into the replacement field.
    I am using the Replace command (Ctrl+H), or “Search > Replace” from the menubar on top, with “Wrap Around” checked and “Regular Expressions” chosen in the radio buttons

    I figured it out when I read the documentation on the JavaScript Date object. It wants milliseconds. Epoch seconds (Unix time) are literal seconds. They are not milliseconds.

    The solution worked when I changed the replace portion to: \J new Date(“\0” * 1000)

Viewing 1 post (of 1 total)