Convert Windows UTC time to Unix epoch


/ Published in: PHP
Save to your folder(s)

This function simply takes a Windows UTC timestamp and converts it to Unix epoch.
This was useful when I was pulling LDAP information from Active Directory and the timestamps were ridiculous. Windows builds timestamps by counting seconds since January 1 1601.

URL: http://chrisllorca.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.