从网页获取时间戳? [英] Get timestamp from a webpage?

查看:128
本文介绍了从网页获取时间戳?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从网页获取时间戳?在这种情况下,新闻故事是网页.我曾尝试将它们隔离在XHTML的字符串内容中,但有太多不同之处.我已经搜索了所有内容,但是任何人都可以做的就是获取当前日期

Is there a way to get the timestamp from a webpage? In this case, news stories webpage. I have tried isolating them in the string contents of the XHTML, but there is too much variation. i have searched all over, but all anyone is able to do is get the current date

推荐答案

可以检查Last-Modified响应标头.有关标头完整列表的详细信息,请参见详细信息.

Can you check the Last-Modified response header. See for details of the full list of headers.

这篇关于从网页获取时间戳?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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