This works perfect Tnx!!

Op vrijdag 26 maart 2021 om 12:30:33 UTC+1 schreef [email protected]:

> On Fri, 26 Mar 2021 at 11:06, Danny de Waard <[email protected]> wrote:
> [...]
>
>> startSilence=`date +%Y-%m-%dT%H:%M:%SZ`
>> endSilence=`date -d '1 hour' +%Y-%m-%dT%H:%M:%SZ`
>>
>
>> What am i missing?
>>
>
> I think this is formatting it as UTC time but actually is in your local 
> timezone.
>
> Try something like:
>
> startSilence=`TZ=UTC date +%Y-%m-%dT%H:%M:%SZ`
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/78857e1e-e614-42b2-8c87-42ae407342e9n%40googlegroups.com.

Reply via email to