Jump to content

API Request with timestamp, how to add timezone?

Recommended Posts

For the API Retrieve all orders:

GET https://api.squarespace.com/{api-version}/commerce/orders?modifiedAfter={a-datetime}&modifiedBefore={b-datetime}

How should I manage the timestamp? 
In the document, it say YYYY-MM-DDThh:mm:ss.sZ.

But what dose .sZ means?

Our facility is in timezone +1 (Stockholm). 
For example, is then 2022-05-25T12:00:00+1000 correct?  

Link to comment
  • Replies 1
  • Views 143
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.