创建和创建之间的区别。在SharePoint REST API中

发布于 2025-02-10 07:55:14 字数 407 浏览 1 评论 0原文

我称为Spo Rest API,作为响应,我发现了两种类型的日期。我找不到有关其差异的任何文档,尤其是DOT的文档(。) 两个日期均显示在此处 我们想将其中一个与DOT用作标准格式,但不确定其真实性。我们将RenderlistDataAstream用作获取数据的终点。

DOT(。)随附的属性的任何文档都将有助于理解它。在附件中,图像计数也是一个具有点的另一个示例。

ps:以下是访问它们的不同方法

I call SPO Rest API and in response I found two type of dates. I am not able to find any documentation on their difference especially the one with Dot (.)
Both Dates are shown here
We want to use one with Dot as its in standard format, but not sure about its authenticity. We are using RenderListDataAsStream as end point to get data.

Any documentation of properties coming with Dot(.) will be helpful to understand it. In attached image count is also another same example having dot.

P.S: here are the differnt ways to access them

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我不会写诗 2025-02-17 07:55:14

我认为命名键的值(如技术字段名称)代表UI中显示给用户的值。因此,它受到网络区域设置的影响。

附加“。” - 键(技术字段名称加“。”)的值表示ISO格式的UTC-0值(就像数据存储在DB Interaly中一样)。

例如:

"Created": "0;#2022-09-07 06:17:37",  // timestamp by Regional Settings
"Created.": "2022-09-07T13:17:37Z",  // UTC-0 in ISO format

I think the value of the normal named key (like technical field name) represents the value shown in UI to a user. So it is affected by the regional settings of the web.

The value of the additional "."-key (technical field name plus ".") represents the UTC-0 value in ISO format (like the data is stored in DB internaly).

For example:

"Created": "0;#2022-09-07 06:17:37",  // timestamp by Regional Settings
"Created.": "2022-09-07T13:17:37Z",  // UTC-0 in ISO format
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文