php - Jenkins REST interface - Timestamp Format -



php - Jenkins REST interface - Timestamp Format -

i seek build little web page informations jenkins jobs , there builds. api nice informations pretty easy.

but, if request timestamp build - cant handle with.

for example, have build done on 09.04.2014 08:32:31 (in jenkins web gui) returned timestamp of date "1397025151000".

if convert timestamp date via php following:

echo (date("h:i:s - m.d.y", 1397025151000)); // result: 00:50:00 - 10.14.06

i couldnt finde timestamp in jenkins - maybe can help me.

thanks

right thought unix timestamps. jenkins uses milliseconds unit, , not seconds. need knock off lastly few zeros can done dividing 1000. date should happier.

php jenkins

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -