Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var prop = 'DEN_2';
- undefined
- obj[prop];
- Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)
- var property = prop;
- undefined
- $('#' + property).prop('class')
- "hasDatepicker"
- var str = obj[prop];
- undefined
- str
- Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)
- str.toISOString();
- "2014-10-28T23:00:00.000Z"
- str.toISOString().substr(0,10);
- "2014-10-28"
- str.toDateString();
- "Wed Oct 29 2014"
- str + "01:00";
- "Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)01:00"
- str + "02:00";
- "Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)02:00"
- var oldDate = str;
- undefined
- var old_date = str;
- undefined
- old_date
- Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)
- oldDate = undefined;
- undefined
- delete oldDate;
- false
- var new_date = new Date();
- undefined
- new_date
- Fri Oct 31 2014 10:49:13 GMT+0100 (Västeuropa, normaltid)
- new_date - old_date;
- 211753877
- 60 * 60 * 1000
- 3600000
- old_date + 3600000
- "Wed Oct 29 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)3600000"
- old_date.getDate();
- 29
- old_date.setDate(old_date.getDate() + 1);
- 1414623600000
- old_date
- Thu Oct 30 2014 00:00:00 GMT+0100 (Västeuropa, normaltid)
- old_date.toISOString();
- "2014-10-29T23:00:00.000Z"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement