Re: Taking a date from the command line

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Max Pyziur <pyz(at)brama(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Taking a date from the command line
Date: 2008-04-24 05:05:45
Message-ID: 48101529.6030200@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Max Pyziur wrote:
>
> Greetings,
>
> In an effort to quickly scale the java/jdbc learning curve, I am porting
> some of my Perl DBI:DBD scripts to java. I've made a little headway, but
> I'm stumped as to how to pass a ->date<- from the command line. Any help
> with either a code snippet or a reference to a previous posting would be
> appreciated.

A Google search for:
java date parse
turned up:

http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
http://forum.java.sun.com/thread.jspa?threadID=205865&messageID=695579

and so on.

--
Craig Ringer

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Albe Laurenz 2008-04-24 06:57:54 Re: Login Roles
Previous Message Max Pyziur 2008-04-23 19:51:27 Taking a date from the command line