question

GregM avatar image
GregM asked Spirent_Admin answered

TIP: Calculating unix timestamp from a date string

I was asked if a date code string could be used to sort/filter response data.  To do this the data code string needs to be converted into a number that can be compared.  Attached is an example of converting a date code string into a UNIX-like timestamp.  See the custom query simple_timestamp().

iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Spirent_Admin avatar image
Spirent_Admin answered
I was asked if a date code string could be used to sort/filter response data. To do this the data code string needs to be converted into a number that can be compared. Attached is an example of converting a date code string into a UNIX-like timestamp. See the custom query simple_timestamp().
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.