Storing current date into a variable

This can be done by getting the date and time by performing an API request using the Infinity plugin in Grafana.

You first need to install the Infinity plugin and make it as an Data source. Then in the variable page choice it as the Query option. Then use the WorldTimeAPI API for example to request the local Time and Date for a specific location.

I hope this answers your question.

3 Likes