# Is there a variable for the current date/time?

**URL:** <https://forum.mautic.org/t/is-there-a-variable-for-the-current-date-time/24252>\
**Category:** Development\
**Created:** [May 28, 2022, 7:50am UTC](https://forum.mautic.org/t/is-there-a-variable-for-the-current-date-time/24252 "2022-05-28T07:50:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![calle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/calle/32/6739_2.png) [@calle](https://forum.mautic.org/u/calle)\
**Post date:** [May 29, 2022, 8:09am UTC](https://forum.mautic.org/t/is-there-a-variable-for-the-current-date-time/24252/4 "2022-05-29T08:09:54Z")

</div>

Sure, i created a new thread to make it a bit easier to find for people;

> [@Im tinkering with generating Woocommerce coupons triggered by a Mautic campaign webhook](https://forum.mautic.org/t/im-tinkering-with-generating-woocommerce-coupons-triggered-by-a-mautic-campaign-webhook/24264):
>
> Hi, In case it is of interest to anyone, I am building a Woocommerce coupon code generator that is triggered from Mautic by a campaign webhook. The idea is that a campaign triggers a GET-call to Woocommerce, which uses the variables provided in the GET to generate a coupon code. The campaign is of the sort that “If you have not shopped for 6 months, you’ll get this coupon code that gives you free shipping and a little discount” This is as far as i’ve gotten this sunday morning; I registered …

Cheers

---

_[View the full topic](https://forum.mautic.org/t/is-there-a-variable-for-the-current-date-time/24252)._
