---
title: "JS-日期类型"
author: "mingren135"
date: "2013-03-16T19:47:21Z"
tags: []
categories: ["Web前端"]
slug: "js"
draft: false
lastmod: "2013-03-16T19:47:21Z"
id: 1830588
url: "https://mingren135.iteye.com/blog/1830588"
---

Dates and Times: Core JS includes a Date() constructor for creating objects that represent dates and times.These Date objects have methods that provide an API for simple date compulations.

![](http://dl.iteye.com/upload/attachment/0081/7690/902af12b-912c-3223-8d80-8896a3e110b6.jpg)

![](http://dl.iteye.com/upload/attachment/0081/7695/9eac2148-5d40-321c-a7a2-791f2b154f47.jpg)