# How to set form submission date with API?

**URL:** <https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130>\
**Category:** Development\
**Tags:** development\
**Created:** [April 22, 2021, 4:20am UTC](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130 "2021-04-22T04:20:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neversuspend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/neversuspend/32/1497_2.png) [@neversuspend](https://forum.mautic.org/u/neversuspend)\
**Post date:** [April 22, 2021, 4:20am UTC](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130/1 "2021-04-22T04:20:02Z")

</div>

I have successfully submitted form through Escopecz\MauticFormSubmit\Mautic

（[https://github.com/escopecz/mautic-form-submit）](https://github.com/escopecz/mautic-form-submit%EF%BC%89)

However the event\_timestamp is generated by mautic system automatically. Can I manually set it because the real form submission date may be yesterday rather than now.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 22, 2021, 9:03am UTC](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130/2 "2021-04-22T09:03:01Z")

</div>

You need to hack it because submission date is generated by the system. You can’t overwrite it based on the docs.

---

<div class="post-metadata">

**Author:** ![neversuspend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/neversuspend/32/1497_2.png) [@neversuspend](https://forum.mautic.org/u/neversuspend)\
**Post date:** [April 22, 2021, 11:34am UTC](https://forum.mautic.org/t/how-to-set-form-submission-date-with-api/19130/3 "2021-04-22T11:34:44Z")

</div>

Thank you for your reply。
