# The Date & Time block The Date & Time block The **Date & Time** block is a data block that sends the specified date and time as the number of milliseconds since the Unix epoch (January 1, 1970). ## Output The **Date & Time** block's single output port sends the specified date and time as the number of milliseconds since the Unix epoch. ## Setup When you add a **Date & Time** block to your flow, it shows a placeholder date and time. Click the date and time in the block to open a calendar and clock where you can select a different date and time. You can [insert](/docs/postman-flows/reference/blocks/overview/#insert-data-blocks-into-other-blocks) the **Date & Time** block into certain blocks instead of connecting them. This makes the selected date and time available to the block it's inserted into. For a list of blocks you can insert the **Date & Time** block into, see [Related blocks](#related-blocks). ## Example To see the **Date & Time** block in an example flow, check out [Flow Snippets: Date & Time](https://www.postman.com/postman/flows-snippets/flow/63bc6e7782ae416b9e6bc10a). ## Related blocks * You can use the [**Date**](/docs/postman-flows/reference/blocks/date/) block if you only need a date. The **Date & Time** block can also be inserted into a number of other blocks including the [**Create with AI**](/docs/postman-flows/reference/blocks/create-with-ai/), [**Evaluate**](/docs/postman-flows/reference/blocks/evaluate/), [**If**](/docs/postman-flows/reference/blocks/if/), [**List**](/docs/postman-flows/reference/blocks/list/), [**Record**](/docs/postman-flows/reference/blocks/record/), and [**Template**](/docs/postman-flows/reference/blocks/template/) blocks.