DATE AND TIME WITHOUT TIMEZONE
Posted: Thu 25 Sep 2008 17:20
I am writing a web application with Visual Studio 2005 and PostgreSQL. In my database I have a table with a TIMESTAMP field WITHOUT TIMEZONE which I tried to fill with the Date.Now function of Visual Basic 2005; this function returns the actual date and time with an aggregate of "a.m." or "p.m." at the end. When an INSERT is issued to the database I get the following error message:
***** timezone "a.m." not recognized *****
I checked the type of exception and I get "corelab.postgresql.pgsqlexception".
Am I doing something wrong?
My version of PostgreSQLDirect.NET is 3.75.31.0
P.D.
If I change the time format in Regional Settings to be displayed in a 0-24 option then everything works as expected.
With respect,
Jorge Maldonado
***** timezone "a.m." not recognized *****
I checked the type of exception and I get "corelab.postgresql.pgsqlexception".
Am I doing something wrong?
My version of PostgreSQLDirect.NET is 3.75.31.0
P.D.
If I change the time format in Regional Settings to be displayed in a 0-24 option then everything works as expected.
With respect,
Jorge Maldonado