'How can I add in the variable a pre-configured "valid from" and "valid until" date?
I have been playing around with using GraphQL and I want to introduce to the variable two fields: a) one that is "valid from" and is the current time/date b) and one for "valid until" which is one month after the current time/date. In a hardcoded way it should have been something like that:
{ "variable": {
"valid_from": "2022-05-22T07:51:38.36"
"valid_until": "2022-06-22T07:51:38.36"
How can I make this dynamic?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
