how to a add a number to current date?
i want to add 14 to current date and dispaly in (yyyy-MM-dd) format.
thanks in advance

Check the classes:
SimpleDateFormat,
Calendar,
java.util.Date

Read their API

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.