Is there a way to use the current time in function...
# support
s
Is there a way to use the current time in functions. I'm trying to check ssl certificate expiration using the prometheus blackbox exporter (https://promlabs.com/blog/2024/02/06/monitoring-tls-endpoint-certificate-expiration-with-prometheus/), I kind of managed to display the value as a datetime, but I'd need to be able to subtract the current time to calculate the remaining days