DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
java date minus 1 day
Calendar
calendar
=
Calendar
.
getInstance
(
)
;
calendar
.
setTime
(
new
Date
(
)
)
;
c
.
add
(
Calendar
.
DATE
,
-
1
)
;
PREVIOUS
NEXT
Tagged:
#java
#date
#day
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit