Windows FILETIME包含什么?尝试转换为PHP日期/时间 [英] What does Windows FILETIME contain? Trying to convert to a PHP date/time

查看:49
本文介绍了Windows FILETIME包含什么?尝试转换为PHP日期/时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已确定需要将Windows FILETIME类型转换为PHP可以使用的类型.我希望这是一个PHP函数.

I've determined that I need to convert a Windows FILETIME type to something PHP can work with. I want this to be a PHP function.

说我有这个值:60 F3 47 D1 57 98 C9 01

Say I have this value: 60 F3 47 D1 57 98 C9 01

步骤1 :(感谢此页 http://www.cyanwerks.com/file-format-url.html )我知道我需要将订单更改为01 C9 98 57 D1 47 F3 60

Step 1: (Thanks to this page http://www.cyanwerks.com/file-format-url.html) I know I need to change the order to 01 C9 98 57 D1 47 F3 60

第2步:??????

Step 2: ?????

推荐答案

来自 MSDN文档:

包含一个64位值,该值表示自1601年1月1日(UTC)起100纳秒间隔的数量.

Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).

这篇关于Windows FILETIME包含什么?尝试转换为PHP日期/时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆