Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
JSP
change the date format from db to jsp
bakiyalakshmi dhanraj
Greenhorn
Posts: 24
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
In database i have date format in 19/03/2008 while i retrive the value in
jsp
, i need 19 march 2008 in this format.. can anyone tel me.
pankaj patil
Ranch Hand
Posts: 98
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
its possibble in 2 ways
1) by converting the date in the db query itself by using to_date
2) by using simpleDateFormat in
java
Regards,
Pankaj Patil
Bear Bibeault
Sheriff
Posts: 67754
173
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you are retrieving the date as a Date instance (rather than a
string
), you can simple use the <fmt:formatDate> JSTL tag on the JSP.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Time Zone problem
How to check a date is within range of dates ?
Changing eclipse variables
Date Time Format
Convert String to sql.Date
More...