![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: dd/mm/yyyy Date Compare Problem
From: Matt Kruse <newsgroups@mattkruse.com>
Date: Sun Apr 30 2006 - 16:26:12 CEST
Dr John Stockton wrote:
I don't see the difference - both the full version and the compacted version
>> Date.dayAbbreviations = new
This array is only useful when getting the index from getDay(), so adding
> I have heard that there is or has been a browser which, at least in
Which browser? That's a broken implementation of getYear() anyway, so anyone
> There's no need to evaluate Leapness unless it's Feb 29. Feb <29 is
Valid point.
>> // Add an amount of time to a date. Negative numbers can be passed to
This is true, but the result should meet expectations. Some time units are
>> Date.prototype.add = function(interval, number) {
Weekday = Mon-Fri, no? "Working day" has the same meaning to most, but not
> You have support for FIPS/ISO elsewhere?
Depends on what you mean, exactly. The functions parse/format functions are
Thanks for your feedback.
-- Matt Kruse http://www.JavascriptToolbox.com http://www.AjaxToolbox.comReceived on Mon May 1 05:27:56 2006 |