Top "Calendar" questions

A calendar is a system of reckoning time in which the beginning, length and divisions of a year are defined.

Why does Java's Date.getYear() return 111 instead of 2011?

I am having a bit of trouble parsing a string date to a Date object. I use a DateFormat to …

java date calendar
NSCalendar first day of week

Does anyone know if there is a way to set the first day of the week on a NSCalendar, or …

iphone cocoa calendar weekday nscalendar
Python: Converting from `datetime.datetime` to `time.time`

In Python, how do I convert a datetime.datetime into the kind of float that I would get from the …

python time calendar
How to get first day of a given week number in Java

Let me explain myself. By knowing the week number and the year of a date: Date curr = new Date(); Calendar …

java calendar dayofweek
How to check if a date Object equals yesterday?

Right now I am using this code Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); cal.set(cal.get(…

java date calendar java-time
Month is not printed from a date - Java DateFormat

How to get month from a date in java : DateFormat inputDF = new SimpleDateFormat("mm/dd/yy"); Date date1 = inputDF.parse("9/30/11"); …

java date calendar date-format
Android how to get tomorrow's date

In my android application. I need to display tomorrow's date, for example today is 5th March so I need to …

java android calendar
Android - how to set an alarm to a specific date

I have seen a lot of tutorials and been trying for 2 hours now , though something is still wrong. I am …

android calendar alarm
How to create a .ICS file with multiple VEVENTs to be imported into an existing Outlook Calendar

I have a need to allow for a user to download an event that has multiple meeting dates. To do …

asp.net outlook calendar icalendar
Single day all day appointments in .ics files

I'm creating an ics file using ASP.NET for importing holiday into Outlook 2007 and trying to set the all-day-event flag. …

calendar icalendar