Dim ini As Date = DateTimePicker1.Value.ToString("yyyy-MM-dd") Dim fin As Date = DateTimePicker2.Value.ToString("yyyy-MM-dd") Dim dias As Integer = (fin - ini).TotalDays
No hay comentarios.:
Publicar un comentario