0
I need to do a check between two dates, I need to check if the date, time and minutes of a field is greater than or equal to the current date, time and minutes, I am using the sqlite.
SELECT * FROM info WHERE strfTime ('%s', dataFinal ) >= strfTime('%s', 'now');
If this condition is true, the data goes to the datagridview_2
otherwise continue in the datagridview_1
.
To summarize:
The datagridview_2
will only receive information if the current date is greater than or equal to the date of the "dataFinal" column. This date Final
, the user who will specify in the field.