Mark Fox schreef: > time_zone => 'America/Edmonton'); That's the problem.
> 2004-10-31T01:03:09 => 1099209789 > 2004-10-31T01:03:09 => 1099206189 It's during the switch from DST to normal time. Because of DST, times in local timezones are not guaranteed to be unique. > ... for my > purposes I need the same date to map to the same epoch. Then you should probably use dates in UTC (or another timezone without DST, for example one expressed by an offset, for example '+0700' or something like that). Or you can accept that your records will be confused during 1 hour per year. Eugene