Android Question How do I get DAYS after comparing two dates?

Sergio Castellari

Active Member
Licensed User
Hello, Assuming the following case:
nVence = DateTime.DateParse(DateTime.Date(row(1)))          'Obtengo SOLO la Fecha (DateParse) del Vencimiento
nHoy   = DateTime.DateParse(DateTime.Date(DateTime.Now))    'Obtengo SOLO la Fecha actual
nDias  = nVence - nHoy                                      'Obtengo DIAS del vencimiento
nDays returns TICKS (or that's what I think) and what I need is to get the DAYS difference between these dates