Comments on: Javascript date parsing and formatting, Part 2 http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Keven http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/#comment-18798 Keven Tue, 19 Oct 2010 03:27:58 +0000 http://www.xaprb.com/blog/?p=67#comment-18798 for the roundtrip format: “2000-01-01T00:00:00″,
the pattern written in js should be “Y-m-d\\TH:i:s”, it works for me.

excellent component!!!

]]>
By: Xaprb http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/#comment-15159 Xaprb Thu, 02 Oct 2008 14:25:16 +0000 http://www.xaprb.com/blog/?p=67#comment-15159 This project’s new home page is at http://code.google.com/p/flexible-js-formatting/

]]>
By: Elven http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/#comment-14259 Elven Thu, 28 Feb 2008 20:57:10 +0000 http://www.xaprb.com/blog/?p=67#comment-14259 found a bug in getLastDayOfMonth :
Date.prototype.getLastDayOfMonth = function() {
this.getDaysInMonth();

}
otherwise ot gets 28 days for february in leap years :), sorry for the previous post

]]>
By: Elven http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/#comment-14258 Elven Thu, 28 Feb 2008 20:55:49 +0000 http://www.xaprb.com/blog/?p=67#comment-14258 found a bug:
Date.prototype.getLastDayOfMonth = function() {
var day = (this.getDay() (Date.daysInMonth[this.getMonth()] – this.getDate())) % 7;
return (day

]]>
By: Morten http://www.xaprb.com/blog/2005/12/20/javascript-date-parsing/#comment-5884 Morten Fri, 20 Apr 2007 17:13:33 +0000 http://www.xaprb.com/blog/?p=67#comment-5884 Beautiful. Thank you.

]]>