b99aaab26e9c9f9a5f5b9e0c9be024e8a9f10b38
galt
  Wed Feb 13 12:57:49 2013 -0800
time should be time_t or long but not int, so that the 2030 overflow problem is avoided on 64-bit machines
diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index 1a8a75c..d65282f 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -412,31 +412,31 @@
  * JKSQL_PROF environment variables to "on".  The cheapcgi module will set
  * these environment variables if the corresponding CGI variables are set
  * to "on".  These may also be set in the .hg.conf file.  While this method
  * of setting these parameters is a bit of a hack, it avoids uncessary
  * dependencies.
  */
 
 void sqlMonitorSetIndent(unsigned indent);
 /* set the sql indent level indent to the number of spaces to indent each
  * trace, which can be helpful in making voluminous trace info almost
  * readable. */
 
 void sqlMonitorDisable(void);
 /* Disable tracing or profiling of SQL queries. */
 
-int sqlDateToUnixTime(char *sqlDate);
+long sqlDateToUnixTime(char *sqlDate);
 /* Convert a SQL date such as "2003-12-09 11:18:43" to clock time
  * (seconds since midnight 1/1/1970 in UNIX). */
 
 char *sqlUnixTimeToDate(time_t *timep, boolean gmTime);
 /* Convert a clock time (seconds since 1970-01-01 00:00:00 unix epoch)
  *	to the string: "YYYY-MM-DD HH:MM:SS"
  *  returned string is malloced, can be freed after use
  *  boolean gmTime requests GMT time instead of local time
  */
 
 char *sqlTableUpdate(struct sqlConnection *conn, char *table);
 /* Get last update time for table as an SQL string */
 
 time_t sqlTableUpdateTime(struct sqlConnection *conn, char *table);
 /* Get last update time for table (in Unix terms). */