Re: Migrating from MSAccess

From: "Eric G(dot) Miller" <egm2(at)jps(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Migrating from MSAccess
Date: 2001-06-30 03:22:08
Message-ID: 20010629202208.D8805@calico.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 29, 2001 at 11:44:52AM -0400, Mihai Gheorghiu wrote:
> Trying to export a Long Time field from MSAccess to a Time field in
> PostgreSQL.
> In Access I have 4:00:00 PM In PostgreSQL I get 4:00:00 (no PM).
> What am I missing?

Depending on what you're doing, Access may be assuming am/pm stuff.

To PostgreSQL, 4:00:00 is 4am, of course; whereas 16:00:00 is 4pm.

It's hard to know the context, but you may want to use Access's format()
function to either convert to 24hr time or insure the AM/PM is actually
getting passed to PostgreSQL.

--
Eric G. Miller <egm2(at)jps(dot)net>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Berndtsson 2001-06-30 09:44:58 Re: timestamp to int
Previous Message GH 2001-06-30 01:39:51 Re: Re: useability of apache, PHP, Postgres for real business apps