NAME Date.W3CDTF - W3C Date and Time Formats SYNOPSIS var dd = new Date.W3CDTF(); // now document.write( "getW3CDTF: "+ dd.getW3CDTF() +"\n" ); dd.setW3CDTF( "2005-04-23T17:20:00+09:00" ); document.write( "toLocaleString: "+ dd.toLocaleString() +"\n" ); DESCRIPTION This module understands the W3CDTF date/time format, an ISO 8601 profile, defined by W3C. This format as the native date format of RSS 1.0. It can be used to parse these formats in order to create the appropriate objects. METHODS new() This constructor method creates a new Date object which has following methods in addition to Date's all native methods. setW3CDTF( "2006-02-15T19:40:00Z" ) This method parse a W3CDTF datetime string and sets it. getW3CDTF() This method returns a W3CDTF datetime string. Its timezone is always local timezone configured on OS. SEE ALSO http://www.w3.org/TR/NOTE-datetime AUTHOR Yusuke Kawasaki http://www.kawa.net/ COPYRIGHT AND LICENSE Copyright (c) 2005-2006 Yusuke Kawasaki. All rights reserved. This program is free software; you can redistribute it and/or modify it under the Artistic license. Or whatever license I choose, which I will do instead of keeping this documentation like it is.