skip to main
|
skip to sidebar
Java Tutorial and Projects
Java Tutorial And Projects For Students
Home
24 Sept 2012
Difference between two dates in java
/*
difference between two dates in java example, calculating the
difference between two dates in java
*/
int diffInDays=(newerDate.getTime()-olderDate.getTime())/(1000*60*60*24);
Newer Posts
Older Posts
Home
Please give me your feedback about the site and any suggestions of what could be done to make it better.
Translate
Topics
IEEE Abstracts
(7)
Java
(101)
pdf docs
(8)
Popular Posts
3DES in java
import java.security.spec.KeySpec; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; ...
advantages and disadvantages of threads in java
/* advantages and disadvantages of threads in java, advantages and disadvantages of using threads in java */ Advantages: Some adva...
Set JPasswordField Background Color in java swings
import javax.swing.JPasswordField; import javax.swing.JFrame; import java.awt.Color; public class SetJPasswordFieldBack...
Get Week of month and year using Java Calendar
/* Get Week of month and year using Java Calendar This example shows how to get current week of month and curent week of year ...
Blog Archive
►
2012
(108)
►
Jul 29 - Aug 5
(10)
►
Aug 5 - Aug 12
(17)
►
Sept 2 - Sept 9
(10)
►
Sept 9 - Sept 16
(1)
►
Sept 16 - Sept 23
(49)
►
Sept 23 - Sept 30
(18)
►
Oct 7 - Oct 14
(3)
►
2013
(11)
►
Nov 24 - Dec 1
(2)
►
Dec 1 - Dec 8
(8)
►
Dec 8 - Dec 15
(1)
▼
2014
(1)
▼
Mar 9 - Mar 16
(1)
3DES in java
Followers
Ad