New Member FAQ
|
Forums
|
Earn Revenue
Resources
Entrance
Ask Experts
Exam Papers
Jobs
English
Projects
Universities
Colleges
Courses
Schools
Training
My India
Members
|
Communities
|
Business Directory
|
Classifieds
|
Reviews
|
Silverlight Games
|
Peer Appraisal
|
Bookmarks
|
Polls
|
Mentors
|
Links
|
MCA Projects
|
Lobby
|
Gift Shop
|
Chat
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
atiya
(155)
jalpa a pancha...
(112)
gomathi
(100)
Last 7 Days
Mr. Anindya
(2278)
PROSENJIT MANN...
(2016)
Pawan Bahuguna
(1261)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Get the current time
Posted Date: Total Responses:
0
Posted By:
vignesh
Member Level:
Silver
Points/Cash
: 1
GetTheCurrentTime
package com.ack.j2se.date;
import java.util.Calendar;
import java.util.Date;
public class GetTheCurrentTime {
public static void main( String[] args ) {
// one way
long currentTimeInMillis = System.currentTimeMillis();
Date today = new Date( currentTimeInMillis );
System.out.println( today );
// another way
Calendar cal = Calendar.getInstance();
today = cal.getTime();
System.out.println( today );
}
}
Project Feedbacks
No feedbacks found. Be the first to respond and make money from
revenue sharing program
.
Post Feedback
You must
Sign In
to post a feedback.
Next Project:
C program that uses a function to sort an array of integers
Previous Project:
The roots of a quadratic equation of the form ax2 + bx + c = 0
Return to Project Index
Post New Project
Related Projects
C++ program - Accessing a function Void with parameters
Screen Programming Project - SAP
Time To Double Operation in C Sharp
LifeTime
ONLINE QUIZ SYSTEM
Advertise Here
Contact Us
Advertise
Editors
Privacy Policy
Terms Of Use
ISC Technologies.
2006 - 2009 All Rights Reserved.