I need to get yesterday's date and format it YYYYMMDD
I know that you can use
to get the date, but how do I get yesterday's date and format it?Code:Date today = new Date();
Thanks!
|
Results 1 to 3 of 3
Thread: Dates and formatting them...Threaded View
|
Click Here to Expand Forum to Full Width |