According to picture below, when I use item.takendate
to SimpleDateFormat
I got "January 2016" instead of "January 2017"
what happen here? please advice.
Edit
However, when I use cdate parse back to Date it value is changed from 1st January to 2nd January
When using SimpleDateFormat
, YYYY
and yyyy
have different meanings! You almost certainly want to use yyyy
(actual year) instead of YYYY
(week year).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With