in reply to Connection Timeout duing form submissions

There is a problem using "Unix epoch" time. This is normally the number of seconds +- Jan 1,1970 (some Mac O/S's vary) and is normally a 32 bit signed integer. Some date in 1896 will be more than the number of seconds away from the "epoch" than can be normally be represented.

So you will have to do something different with @date for date/times before about year 1902.

Update: Range from epoch is about 68 years.

  • Comment on Re: Connection Timeout duing form submissions

Replies are listed 'Best First'.
Re^2: Connection Timeout duing form submissions
by cheech (Beadle) on Jun 20, 2009 at 21:11 UTC
    Unless I'm confused about what exactly you're talking about, the dates in @dates are already all listed out. So every entry I want to use is already stored for me.
      What I suspect is that your internal date calculation is not getting translated correctly from binary back into text. Maybe that idea is wrong. Could be. But then again, it seems to match up. Print the URL for the dates that are failing.
        Here's a list of all the dates:
      • http://www.personal.psu.edu/dac5039/dates.txt
      • .

        Here's the site where each date gets submitted:

      • http://bub2.meteo.psu.edu/WXSTN/wxstn.htm
      • .

        Here's the data page returned from 18961110 (the date that fails when submitted via my program):

      • http://bub2.met.psu.edu/cgi-win/WXDaily.EXE
      • . This should take you to an error page since I tried to link you to a page that must be queried by the form.