c...@cyf.com.ar
unread,Mar 28, 2015, 8:07:39 AM3/28/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to npgsq...@googlegroups.com
hello, and thanks in advance for your support.
scenario is:
-vbnet visual basic project in windows machine with locality GMT -3
-postgres server running in linux server with GMT 0
-connection with postgres server trough dll ok
-pgadmin open to check results
if I run "select now();" from pgadmin, result is:
2015-03-27 10:00:00 (is gmt 0, as it should be)
if I run same query from my vbnet dll, result is:
2015-03-27 07:00:00 (gmt -3) --> the GMT from my local computer, not the server's GMT.
why?
it's suppose that select now() must return server's time, not local computer's time...
any ideas?
thanks again,