Hi,
i would like to copy some page with the current date.
Example myPage.html -> myPage_2013-08-15_13:36.html
The following code copies the page but without date. It is because of such signs (-, :,....). How can you overcome this?
Date date = new Date(); SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm" ); String testDate= df.format(date); pageManager.copy(pathOfMyPage), pathOfMyPage-"+testDate, "", true, false);