Обсуждение: Another JDBC question dates this time...
Hi, I can retrieve date and use the getDate function on my resultset no problem. Now I want to insert a date like June 1st, how can I make sure it will become june 1st and not january 6th? Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 ---------------------------------------------------------------------------- "Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres
Use '2001-06-01'. And use the jdbc list. Konstantinos Agouros wrote: > > Hi, > > I can retrieve date and use the getDate function on my resultset no problem. > Now I want to insert a date like June 1st, how can I make sure it will become > june 1st and not january 6th? > > Konstantin > -- > Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de > Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 > ---------------------------------------------------------------------------- > "Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com