How to change the format of:
--> var enterDate = '2016-01-15'; // to 2016-01-15T00:00:00.0000000+08:00 with JS syntax?
// I try these and none of these works out:
1) enterDate.format("yyyy-mm-ddT00:00:00.0000000+08:00");
console.log(enterDate);
2) enterDate.toLocaleFormat("%B %e, %Y %M:%S");
Thanks in advance.