Json数据格式事例查看

Date的实例

console.log(typeof new Date());
// "object"
console.log(new Date());
// 获取本机的系统时间;
var time = new Date();
console.log(time.getFullYear());
// 获取时间年;
console.log(time.getMonth())
// 获取时间月 取值范围【0-11】
console.log(time.getDate());
// 获取时间日【1-31】
console.log(time.getDay());
// 获取星期几;【0-6】 星期日是0;
console.log(time.getHours())
// 获取小时数 【0-23】
console.log(time.getMinutes());
// 获取分钟数 【0-59】
console.log(time.getSeconds());
// 获取时间秒【0-59】 
console.log(time.getMilliseconds());
// 获取毫秒数【0-999】
console.log(time.getTime());
// 当前时间距离1970-1-1日早上八点的毫秒数;
console.log(Date.now());
// 时间戳:

 

[{"ProvinceID":1,"ProvinceName":"北京市","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":2,"ProvinceName":"天津市","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":3,"ProvinceName":"河北省","DateCreated":"/Date(1200743070000)/","DateUpdated":"金沙官网线上,/Date(1200743070000)/"},{"ProvinceID":4,"ProvinceName":"山西省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":5,"ProvinceName":"内蒙古自治区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":6,"ProvinceName":"辽宁省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":7,"ProvinceName":"吉林省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":8,"ProvinceName":"黑龙江省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":9,"ProvinceName":"上海市","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":10,"ProvinceName":"江苏省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":11,"ProvinceName":"浙江省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":12,"ProvinceName":"安徽省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":13,"ProvinceName":"福建省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":14,"ProvinceName":"江西省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":15,"ProvinceName":"山东省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":16,"ProvinceName":"河南省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":17,"ProvinceName":"湖北省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":18,"ProvinceName":"湖南省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":19,"ProvinceName":"广东省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":20,"ProvinceName":"广西壮族自治区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":21,"ProvinceName":"海南省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":22,"ProvinceName":"重庆市","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":23,"ProvinceName":"四川省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":24,"ProvinceName":"贵州省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":25,"ProvinceName":"云南省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":26,"ProvinceName":"西藏自治区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":27,"ProvinceName":"陕西省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":28,"ProvinceName":"甘肃省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":29,"ProvinceName":"青海省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":30,"ProvinceName":"宁夏回族自治区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":31,"ProvinceName":"新疆维吾尔自治区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":32,"ProvinceName":"香港特别行政区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":33,"ProvinceName":"澳门特别行政区","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"},{"ProvinceID":34,"ProvinceName":"台湾省","DateCreated":"/Date(1200743070000)/","DateUpdated":"/Date(1200743070000)/"}]

本文由金沙官网线上发布于Web前端,转载请注明出处:Json数据格式事例查看

您可能还会对下面的文章感兴趣: