# Order dated in the past

**URL:** <https://developer.squareup.com/forums/t/order-dated-in-the-past/18922>\
**Category:** Questions\
**Tags:** orders-api, payments-api\
**Created:** [September 26, 2024, 10:48pm UTC](https://developer.squareup.com/forums/t/order-dated-in-the-past/18922 "2024-09-26T22:48:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thegardenstop](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@thegardenstop](https://developer.squareup.com/forums/u/thegardenstop)\
**Post date:** [September 26, 2024, 10:48pm UTC](https://developer.squareup.com/forums/t/order-dated-in-the-past/18922/1 "2024-09-26T22:48:31Z")

</div>

I am wanting to write some code to import my past transactions I have from my previous POS. Is it possible to create an order with a date in the past?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [September 26, 2024, 10:48pm UTC](https://developer.squareup.com/forums/t/order-dated-in-the-past/18922/2 "2024-09-26T22:48:41Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Payments API Integration](https://developer.squareup.com/docs/pos-api/payments-integration)**
>
> Learn how to get payment details from a Point of Sale API transaction ID.

> **[Use the Point of Sale API in Offline Mode](https://developer.squareup.com/docs/pos-api/cookbook/offline-mode)**
>
> The Point of Sale API supports payment processing with the Square Point of Sale application in Offline Mode.

> **Additional Documentation**
>
> [Square Developer Documentation](https://developer.squareup.com/docs/pos-api/how-it-works)  
> [Build on Mobile Web](https://developer.squareup.com/docs/pos-api/build-mobile-web)  
> [Point of Sale API and POS Integration Tools](https://developer.squareup.com/docs/pos-api/what-it-does)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [September 26, 2024, 10:55pm UTC](https://developer.squareup.com/forums/t/order-dated-in-the-past/18922/3 "2024-09-26T22:55:59Z")

</div>

No, it’s not possible to create an order with a date in the past using Square’s APIs. The Orders API automatically assigns the current date and time to a new order when it’s created. You cannot manually set or change this timestamp.

_This answer was reviewed by @Bryan-Square._
