php - Ldap Timestamp converting issue -


here code following convert ldap timestamp date format. here: https://ideone.com/kfgd32

i comparing output this: http://www.epochconverter.com/epoch/ldap-timestamp.php

my output showing different actual ouput showned in above link.

update: followed below code still showing me wrong minutes, here:

https://ideone.com/4gcj3f 

compare output this: http://www.epochconverter.com/epoch/ldap-timestamp.php

wrong date formatting: m stands month, not minute.

m numeric representation of month, leading zeros 01 through 12

http://php.net/manual/en/function.date.php


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -