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 - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -