Jarrett (jarrett) wrote,
Jarrett
jarrett

  • Mood:
The tinfoil hat crowd has pointed out that the Madrid terrorist attacks yesterday came exactly 911 days after 9/11/2001.

Is that spooky or what?
response.write datediff("d","9/11/2001","3/11/2004")
912
Oops, sorry, folks. Better make that 912 days after 9/11.

Not quite as spooky anymore. Maybe the terrorists forgot about the leap year.

Edit:
The datediff() function in VBScript does not include the start date in its count (datediff("d","9/11/2001","9/12/2001") returns 1, not 2). Therefore, the only way to say 3/11/2004 is 911 days past 9/11/2001 is to start counting with 9/12/2001 as day zero, which clearly is cheating.

If 9/11 had been part of the count, the result would have been 913.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 10 comments