How-to articles, tricks, and solutions about CALENDAR

Calendar date to yyyy-MM-dd format in java

To format a Calendar date in the yyyy-MM-dd format in Java, you can use the SimpleDateFormat class.

How can I use PHP to dynamically publish an ical file to be read by Google Calendar?

Here's an example of how you can use the iCalcreator library to create an iCal file and output it for download:

How to subtract X day from a Date object in Java?

To subtract a certain number of days from a Date object in Java, you can use the Calendar class.

Java: Get month Integer from Date

To get the month integer from a java.util.Date object in Java, you can use the getMonth() method of the java.util.Calendar class.