A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts + Display tag.
Joined: Sep 07, 2008
Oct 23, 2008 04:21:00
Hello every one ,
I am using
2 + hibernate with Display tag.
In my database there are one table colon date contains date only not time like : - 2002-10-17
and same another table contains time only like : - 11:48:19.
My question is when i select record from data base and display it with <display:column then it display date like :- 2008-10-17 00:00:00.0 and
time like :- 1970-01-01 11:48:19.0
but i want Date :- 2008-10-17 and time :- 11:48:19.0 only.
Please give me suggestion for this ASAP how I can format this date and time in display tag.
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD
I agree. Here's the link:
subject: Struts + Display tag.
count by current timestamp
Convert Local time to UTC and vice versa
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015