Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Convert Timestamp to human-readable time

Open NghiaTranUIT opened this issue 2 years ago • 8 comments

Description

Timestamp is not human-readable text, it might take a lot of time to copy & paste somewhere to parse it.

Why this feature/change is important?

  • Save time, easier to deal with timestamp in the Body

NghiaTranUIT avatar Oct 21 '23 02:10 NghiaTranUIT

  • Done: Select the timestamp text -> Right Click -> Timestamp
  • Convert to current time

F8nNM79bIAApY7z

NghiaTranUIT avatar Oct 21 '23 02:10 NghiaTranUIT

Can we get a way to convert timestamp if it's in milliseconds?

tylerjames avatar Dec 04 '23 19:12 tylerjames

@tylerjames can you give us an example?

NghiaTranUIT avatar Dec 06 '23 06:12 NghiaTranUIT

Of a timestamp in milliseconds? Sure.

I know Java, and I'm sure other languages, report timestamp in milliseconds.

One of my APIs returns this value: 1698438787706

Which the app displays as May 20, 55791.

milliseconds

If you plug the same value into: https://www.unixtimestamp.com/ you'll see that the date is actually:

Fri Oct 27 2023 21:26:39 GMT+0000

... when treated as milliseconds.

tylerjames avatar Dec 06 '23 15:12 tylerjames

@tylerjames you can use this beta build: https://download.proxyman.io/beta/Proxyman_4.15.0_Support_millisecond_timestamp_.dmg

It supports Timestamps (Millisecond or second) 👍

Video

https://github.com/ProxymanApp/Proxyman/assets/5878421/68313aa4-aefd-42af-80d6-cb91cb3a4789

NghiaTranUIT avatar Dec 27 '23 03:12 NghiaTranUIT

Looks good, I'll check it out. Thanks!

tylerjames avatar Jan 02 '24 14:01 tylerjames

Getting an invalid timestamp when I try to convert from Raw response body. Works if I do it from Treeview though.

Screenshot 2024-01-02 at 10 06 45 AM

tylerjames avatar Jan 02 '24 15:01 tylerjames

@tylerjames can you try again? I suppose that you should select the full string -> Right Click -> Timestamp.

Screenshot 2024-01-04 at 09 22 27

NghiaTranUIT avatar Jan 04 '24 02:01 NghiaTranUIT