How to convert the time of Sina Weibo interface back to timestamp. Format Confidential

Source: Internet
Author: User
Ask how to convert the time of the Sina Weibo interface back to timestamp. Format Confidential
Fri June 07 18:27:54 +0800 2013
The time format returned from the Sina interface is like this
A simple and efficient way to convert to a timestamp
Thank you Sina Weibo interface timestamp

Share to:


------Solution--------------------

------Solution--------------------

------Solution--------------------

References: I
tried the next strtotime can use .... Mistaken thinking.

The solution is good ~
Before I was 2, I also returned the XML through the interface provided by others,
Then I passed the regular matching XML inside of what I wanted, and then I found out that PHP has an analytic function of XML!

However, a lot of things are really wonderful, because the match at that time more, that let me learn the regular expression.

It's what happened to me ...
------Solution--------------------
Strtotime can be used
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.