I have a filetime time of '131841804730412861'
I do not have a file, I have a filetime coming from an API
I am trying to convert it to a "normal" time
Is there a way to decode filetime from a varible in php seeing as Microsoft Filetime has an epoch of Jan 1, 1601 and uses microseconds?
filemtime
— Gets file modification time and it returns the time the file was last modified, or FALSE on failure. The time is returned as a Unix timestamp, which is suitable for thedate()
function.So, this should work for you but I've a doubt that your given string '131841804730412861' is a valid unix timestamp because too high in lenght.