Skip to main content
Solved

How to convert epoch values to human redable format in OUTCOME section

  • September 12, 2024
  • 2 replies
  • 39 views

Mufa_shah
Forum|alt.badge.img+4

Hi All,

I am trying to solve event first seen and last seen using  MIN, MAX  functions,  but it returns an epoch value.

How to convert this Epoch values ?

Also is this right way to calculate firstseen and last seen for events

Thanks in Advance

 

 

Best answer by bsalvatore

Hi,

I think you can use the new YARA-L functions like 

to convert unix seconds to a string with YYYY-MM-DD format.

2 replies

bsalvatore
Forum|alt.badge.img+6
  • Bronze 1
  • Answer
  • September 12, 2024

Hi,

I think you can use the new YARA-L functions like 

to convert unix seconds to a string with YYYY-MM-DD format.

Mufa_shah
Forum|alt.badge.img+4
  • Author
  • Bronze 2
  • September 12, 2024

Hi,

I think you can use the new YARA-L functions like 

to convert unix seconds to a string with YYYY-MM-DD format.

thanks