Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
niranjan smith
Greenhorn
+ Follow
5
Posts
1
Threads
0
Cows
since Sep 05, 2008
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Number Posts (5/100)
Number Threads Started (1/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (0/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (5/10)
Number Threads Started (1/10)
Number Likes Received (0/3)
Number Likes Granted (0/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by niranjan smith
Using both struts html:link and bean:write error
Use this it will solve your problem.
">text
Thanks,
niranjan
show more
14 years ago
Struts
Using both struts html:link and bean:write error
Use this it will solve your problem.
">text
Thanks,
niranjan
show more
14 years ago
Struts
How to generate Sysdate using Java?
import java.util.Date; import java.text.DateFormat; import java.text.SimpleDateFormat; private String getDateTime() { DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.ms"); Date date = new Date(); System.out.println(dateFormat.format(date)); }
You can format the date as per your requirement. Here I have tried to print the milliseconds also.....Keep Rocking!!
[edit]Add code tags. CR[/edit]
[ September 05, 2008: Message edited by: Campbell Ritchie ]
show more
15 years ago
Beginning Java