Esempio n. 1
0
        public DateModel getSplittedDateIntegers(int date)
        {
            int       day   = date % 100;
            int       temp  = date % 10000;
            int       month = temp / 100;
            int       year  = date / 10000;
            DateModel dm    = new DateModel(year, month, day);

            return(dm);
        }
 public DateModel getSplittedDateIntegers(int date)
 {
     int day = date % 100;
     int temp = date % 10000;
     int month = temp /100;
     int year = date / 10000;
     DateModel dm = new DateModel(year,month,day);
     return dm;
 }