Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is the updateDate time format in the pull-request response?



I have made a get API call to fetch all the pull-requests in a repository:


Here is a snippet of the response:

"id": 26903,
"version": 203,
"title": "CMSVC-6964 Created On & Created By shown incorrectly in excel",
"description": "Updating the property names in the view so they are mapped correctly while exporting.",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1528960509081,
"updatedDate": 1529690155917,


What is the updateDate format here? How do I know how many days ago it was updated?

1 comment

Hi @Kaushik Veluru,

I've just done some testing on this and both the createdDate and the updatedDate are in Epoch Unix Time with a millisecond precision.

However, before applying a standard conversion, you'll need to reduce the precision of the field by diving for 1000 .

So, in your examples:

1528960509081 = 1528960509081/1000 = 1528960509 = 14th of June 2018 @ 7:15am (UTC)

1529690155917 = 1529690155917/1000 = 1529690155 = 22nd of June 2018 @ 5:55pm (UTC)



Caterina - Atlassian

Hi @Caterina Curti,


I figured out soon after posting this question. Thanks for your reply though. 

Thanks for your feedback @Kaushik Veluru!


Log in or Sign up to comment
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

681 views 15 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you