Support for JavaScript date. parse function parameters-"Short Date Format" in various browsers

Source: Internet
Author: User
Browser/short date format
chrome 26

safari 5

Firefox 20

IE 9

I am more interested in learning web this semester. JS date is used for creating a webpage. the parse function is used to determine the validity of a short date (including only the year, month, and day). vs 2012 is used to test the short date in several mainstream browsers. The preceding table is obtained and can be used as a reference. Therefore, we recommend that you use the '/' format. Considering the Chinese habits, you can only use the "year, month, or day" format.

As a web developer, it is recommended to use chrome for running and debugging. During this period of time, I think chrome supports more HTML5 features, followed by safari. You can use firebug for debugging, but Firefox sometimes does not support some elements and attributes. What's worse is that "when performing control verification, when verification fails, the focus is removed from the verified control, and the focus of the other three browsers is not moved ".

In fact, the most depressing thing about me is the page cache. Sometimes the "Running cache pages instead of the latest pages" problem occurs during debugging, so I often don't know what the situation is, at last, I realized that it was a page cache problem. Now, it is basically necessary to clear the cache every time debugging and running, which makes me very depressed ..

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: 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.