Re: how to convert JAVA string in "hh:mm dd/mm/yyyy" to sql datetime format?



"shivaraj" <shivaraj.malannavar@xxxxxxxxx> writes:

To try with this approach, I am not getting any patterns in
"hh:mm mm/dd/yyyy" in SimpleDateFormat to convert it into java date
format. If that is the case again I have to split it as Ian said. Is
that so or am i missing something?

Read the API documentation about it. We humans understand the two
different ways you use "mm", but SimpleDateFormat has its own way of
differentiating minutes and months.

--

http://ourdoings.com/
Amazingly simple photo sharing
.



Relevant Pages

  • Re: NumberFormat for dates not working
    ... refering to in this newsgroup. ... Ian Hannah wrote: ... Subject: How to display text in the format hh:mm for a category label? ... displaying data read at a number of different dates over a date ...
    (microsoft.public.office.developer.web.components)
  • Re: NumberFormat for dates not working
    ... Warm regards, ... Professional VSTO.NET - Wrox/Wiley ... Ian Hannah wrote: ... Subject: How to display text in the format hh:mm for a category label? ...
    (microsoft.public.office.developer.web.components)
  • Re: DataView Web parts
    ... menu on right click is Format Item As. ... > to do to actually make it a functioning WSS W eb Part. ... > assume there's one last step I'm missing. ... I opened the page in the browser and what was created as the Data View ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Newbie Question about sequence multiplication
    ... Scott wrote: ... Now it looks pretty weird in this format but it was copied exactly from IDLE ... There's a plus sign missing just here ..| ... That doesn't look like a compiler error message! ...
    (comp.lang.python)
  • Re: Formatting numbers with leading and trailing zeros
    ... If the missing leading and/or trailing zeroes were consistent in how many were missing, then the suggestion David gave you would be the way to restore them; however, if the number of leading and/or trailing zeroes can vary within a given column, then there is nothing you can do to restore the information that is not there. ... If you want to format all the numbers with 2 decimal places you can do that. ...
    (microsoft.public.excel.worksheet.functions)