Join Slack
Powered by
Is there a way to use the current time in function...
# support
s
Sascha Grossenbacher
02/27/2025, 3:33 PM
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
Open in Slack
Previous
Next