English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have a date say for example 19500822 its actually 22 aug 1950
how shall i convert into 22-08-1950 or 22/08/1950 using java simple date format class

2006-08-14 01:21:29 · 6 answers · asked by kanna 3 in Computers & Internet Programming & Design

6 answers

I think this may be what you are after

2006-08-14 01:44:09 · answer #1 · answered by AnalProgrammer 7 · 0 0

take into a string and split by counting places u has to insert '/'
or esle
take separate var for day mon and year
and pass into streing using + operator
if program require mail me

2006-08-14 08:44:21 · answer #2 · answered by ch_nagarajind 3 · 0 0

Rather than rewrite something that is so well documented already, I choose to refer you to this link:
http://www.javaworld.com/jw-12-2000/jw-1229-dates.html

Hope this helps

2006-08-14 08:41:34 · answer #3 · answered by Neil 5 · 0 0

using ur hands only.

2006-08-15 00:09:11 · answer #4 · answered by TINKU 1 · 0 1

LOOK BUDDY AM SOORY I DONT KNOW

2006-08-14 08:30:03 · answer #5 · answered by Sebbb 1 · 0 2

why should itell u

2006-08-14 10:04:12 · answer #6 · answered by dhruv 1 · 0 1

fedest.com, questions and answers