Если это вообще возможно, без библиотек JavaScript или большого количества неуклюжего кода, я ищу самый простой способ форматирования даты через две недели в следующем формате:
13th March 2013
Код, который я использую:
var newdate = new Date(+new Date + 12096e5);
document.body.innerHTML = newdate;
который возвращает дату и время через две недели, но примерно так: ср 27 мар 2013 21:50:29 GMT + 0000 (стандартное время GMT)
Вот код в jsFiddle.
Любая помощь будет оценена!