I have a file with logs into which arrays of this format are written.
How can I get arrays in which the [timestamp] range will be from 2021-05-01 to 2021-05-10?
Thank you so much!
Array
(
[event] => message
[timestamp] => 2021-05-18
[chat_hostname] => SN-CHAT-14_
[message_token] => 557539925623
[sender] => Array
(
[id] => swvhGP / 0WK8GmEccowg ==
[api_version] => 10
)
[message] => Array
(
[text] => konf
[type] => text
)
[silent] => 1
)
Array
(
[event] => message
[timestamp] => 2021-05-17
[chat_hostname] => SN-CHAT-14_
[message_token] => 5575369991822565
[sender] => Array
(
[id] => swvhGP / 0WK4SEccowg ==
)
[message] => Array
(
[text] => www
[type] => text
)
[silent] => 1
)