I notice I can add “exp”: 30 in the header, but that would mean 30 seconds since Unix time so not very useful; i need 30 sec since present time.
any help please?
I managed to obtain the datetime in numericdate by doing this:
var myDate1 = DateTimeOffset.Now.ToUnixTimeSeconds();
Console.WriteLine(myDate1 + 30);
1 Like
Perfect! Thanks for sharing that with the rest of community!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.