# The Date block The Date block The **Date** block sends the specified date as the number of milliseconds since the Unix epoch (January 1, 1970). ## Output The **Date** block's single output port sends the specified date as the number of milliseconds since the Unix epoch. ## Setup When you add a **Date** block to your flow, it shows the date when it was added. Click the date in the block to open a calendar where you can select a different date. You can [insert](/docs/postman-flows/reference/blocks/overview/#insert-data-blocks-into-other-blocks) the **Date** block into certain blocks instead of connecting them. This makes the selected date available to the block it's inserted into. For a list of blocks you can insert the **Date** block into, see [Related blocks](#related-blocks). ## Example To see the **Date** block in an example flow, check out [Flow Snippets: Date](https://www.postman.com/postman/flows-snippets/flow/63bc6e72ead4e97c45493e9a). ## Related blocks * You can use the [**Date & Time**](/docs/postman-flows/reference/blocks/date-and-time/) block if you need to include the time along with a date. The **Date** 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. ## Related pages For a tutorial that uses the **Date** block, see [Calculate the years since a milestone](/docs/postman-flows/tutorials/beginner/calculate-years-since-milestone/).