Thank you very much for your reply.
I actually use $dt and $latest_dt later in my code and did not realize I left them in the test for this post.
I actually use Date::Manip as well in my code so your post/reply is very welcome. I realize that `date` is probably not the best option and does create some overhead to spawn that out. I do not need to run this on any other OS so that is not part of the consideration while developing this tool. `date` is a bad habit I picked up long ago and just need to stop copying this from code to code to code when I need the current date.
I will use your example going forward as it is a much better alternative, as you have pointed out.
In reply to Re^2: Search::Elasticsearch date range
by bfdi533
in thread (Solved) Search::Elasticsearch date range
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |