Hello plp i am trying to do a xml , where a user set a start time (writing in a box) them the end time, and those 2 time tokens send to a query to search in that range time. Any clue about this? Thanks!!
I take it you have a dashboard with two input boxes and you need to convert the user's text input into timestamps. If that's not right, please clarify the question.
You can do that using the strptime
function.
... | eval start = strptime(startToken, "%d/%m/%y"), end = strptime(endToken, "%d/%m/%y") | ...