Software Development
Pages
Home
About
Contact
Tuesday, December 28, 2004
Calculating Yesterday's Date
private Date yesterday() {
long calcTime = System.currentTimeMillis() - 86400000L;
Date yesterday = new Date(calcTime);
return yesterday;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment