I have this date string example: Mon, 01 May 2023 00:00:00 GMT
how can I convert it to epoch?
thanks!
strptime() will convert strings to epoch times
| eval _time=strptime(time,"%a, %d %b %Y %H:%M:%S %Z")
thank you, its working!
strptime() will convert strings to epoch times
| eval _time=strptime(time,"%a, %d %b %Y %H:%M:%S %Z")