+extern long wxGetUTCTime(void);
+bool wxGetTZandDST(long *timeZone, int *dstObserved)
+{
+ time_t now;
+ struct tm *tm;
+
+ now = time((time_t *) NULL);
+
+ if (now != (time_t)-1)
+ {
+ tm = localtime(&now);
+
+ if ((tm) && (tm->tm_isdst > 0))
+ *dstObserved = 1;
+ }
+ *timeZone = WX_TIMEZONE;
+
+ return TRUE;
+}