]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/core/lang/Date.js
6 * Note: Date values are zero-based.
16 toString: function(date
) {
21 var pad
= Ext
.String
.leftPad
;
23 return date
.getFullYear() + "-"
24 + pad(date
.getMonth() + 1, 2, '0') + "-"
25 + pad(date
.getDate(), 2, '0') + "T"
26 + pad(date
.getHours(), 2, '0') + ":"
27 + pad(date
.getMinutes(), 2, '0') + ":"
28 + pad(date
.getSeconds(), 2, '0');
32 //<deprecated product=touch since="2.0">