9

Somebody recently asked how to convert a String to a java.sql.Date. Of course, there are a zillion examples of this all over the place. There are also a number of questions on SO about it. Being sure this was a duplicate, I started looking around SO for a suitable source.

The best I could find, as far as the answer, was convert string date to java.sql.Date. However, even though the answer was all right, the question is terrible. I'd like to rewrite this question.

At this point, since the question is already closed, would it be acceptable for me to just rewrite it and vote to reopen (perhaps also requesting community wiki conversion)? It's still not the greatest answer, but it seems like the best one on SO for this particular question (it's the highest voted relevant answer).

6
  • Rewrite which one? The one from Mar 27 '13? Mar 21, 2014 at 5:40
  • @JonathanHobbs Yes, that one. Edited to attempt clarification.
    – Jason C
    Mar 21, 2014 at 5:41
  • Actually, to be honest, looking at it, the more recent one has a decent collection of answers now. Perhaps I should find the other ones and mark them as duplicates of this new one?
    – Jason C
    Mar 21, 2014 at 5:44
  • 5
    If you think we have something approaching a good canon question for an issue that comes up a lot, sure. Mar 21, 2014 at 5:47
  • I've got a better idea; I asked BalusC to update his answer on stackoverflow.com/questions/4216745/… -- the question is worded ambiguously enough that java.sql.Date can be ninja'd in to the answer. Then that question can serve as the canonical source for both.
    – Jason C
    Mar 21, 2014 at 6:03
  • 1
    As BalusC reasonably declined to include that in his answer, I will rework one of the above questions, or simply post a self-answered question if that can't be done.
    – Jason C
    Mar 22, 2014 at 17:22

0

You must log in to answer this question.

Browse other questions tagged .