public static int GetDayOfMonth(DateTime time) { return(CCGregorianCalendar.day_from_fixed(CCFixed.FromDateTime(time))); }