Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

what does the return value (long) of class com.ibm.team.build.client.ITeamBuildClient getBuildStartTime method represent


what does the return value (long) of class com.ibm.team.build.client.ITeamBuildClient getBuildStartTime method represent


the return value I get is 1492799546626 ... does not seem to be UTC time ... what is value format?

0 votes

Comments

sorry wrong class ... Interface com.ibm.team.build.common.model.IBuildResult getBuildStartTime method


Accepted answer

Permanent link

That is "epoch time".  It is the value of unix time(3) function + milliseconds.   I'm pretty sure it can be "converted" using Java Calendar / date formatter.  ( Calendar.setTimeInMillis() )


Marc St-Amour selected this answer as the correct answer

0 votes


One other answer

Permanent link

 Thank you Kevin!


Turns out I just did a divide by 1000 on the return value for Git to accept it as a valid value for the rev-list command --since parameter ... 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 24 '17, 11:25 a.m.

Question was seen: 2,063 times

Last updated: Apr 26 '17, 8:00 a.m.

Confirmation Cancel Confirm