Searched refs:currentDateTime (Results 1 – 1 of 1) sorted by relevance
194 DateTime currentDateTime = new DateTime(); in getCurrentDateTime() local195 currentDateTime.Year = (short)ca.get(Calendar.YEAR); in getCurrentDateTime()197 currentDateTime.Month = (short)(ca.get(Calendar.MONTH) + 1); in getCurrentDateTime()198 currentDateTime.Day = (short)ca.get(Calendar.DATE); in getCurrentDateTime()199 currentDateTime.Minutes = (short)ca.get(Calendar.MINUTE); in getCurrentDateTime()200 currentDateTime.Hours = (short)ca.get(Calendar.HOUR_OF_DAY); in getCurrentDateTime()201 currentDateTime.Seconds = (short)ca.get(Calendar.SECOND); in getCurrentDateTime()203 return currentDateTime; in getCurrentDateTime()
Completed in 19 milliseconds