From: Abdul Wahab Dahalan <wahab@mimos.my>
To: pgsql-sql@postgresql.org
Subject: How to compare dates?
Date: Mon, 17 Mar 2003 16:29:54 +0800
Message-ID: <3E758782.9913878A@mimos.my> (raw)
How do I compare this dates:
1. date( in timestamp) = 2003-03-16 11:29:23.567417+08
2. date created from java program like :
String format ="dd.MM.yyyy";
Date today = new Date();
SimpleDateFormat formatter = new SimpleDateFormat(format);
String todaysdate = formatter.format(today);
says the result is : todaysday = 17.03.2003
Any help very much appriciated
Thanks.
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: wahab@mimos.my
Subject: Re: How to compare dates?
In-Reply-To: <3E758782.9913878A@mimos.my>
* 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