From: Tubagus Nizomi <nizomi@dnet.net.id>
To: pgsql-sql@postgresql.org
Subject: Help datetime
Date: Fri, 8 Jun 2001 14:36:46 +0700
Message-ID: <01060814364602.08639@ocemz> (raw)
i have problem in datetime
my_table (start_date datetime,stop_date datetime);
insert into my_table values
('Sun May 13 16:19:27 2001 JAVT','Sun May 13 14:06:13 2001 JAVT')
select stop_date-start_date from my_table
the result is "@ 2 hours 13 mins 14 secs"
but i want result in minutes(integer) not interval
have idea ??
plz help me
thanks
Nizomi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: nizomi@dnet.net.id
Subject: Re: Help datetime
In-Reply-To: <01060814364602.08639@ocemz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox