# Add dynamic timestamp to request payload

**URL:** <https://community.postman.com/t/add-dynamic-timestamp-to-request-payload/54840>\
**Category:** Help Hub\
**Tags:** variables, request, body-parameters\
**Created:** [November 21, 2023, 9:29am UTC](https://community.postman.com/t/add-dynamic-timestamp-to-request-payload/54840 "2023-11-21T09:29:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 21, 2023, 10:26am UTC](https://community.postman.com/t/add-dynamic-timestamp-to-request-payload/54840/2 "2023-11-21T10:26:52Z")

</div>

Did this not provide you with the solution?

> [@Dynamic variable timestamp in milliseconds](https://community.postman.com/t/dynamic-variable-timestamp-in-milliseconds/28258/6):
>
> Once a variable has been created and stored, it can be referenced in the body like this: { "time": "{{timestampMs}}" }

Adding it to an existing string value would just be like this:

```json
{
    "idRichiesta": "0001234_00004555_{{timestampMs}}",
    "timestamp": "{{timestampMs}}"
}

```

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/9/b90bdae3be0a41601732c57f3c7593e87190236e.png)

---

_[View the full topic](https://community.postman.com/t/add-dynamic-timestamp-to-request-payload/54840)._
