Here i want to do is the data for a,b,c
according to the entered start date and end date
with entered date and time stamp of 2 mins time difference.
Enter start date :
Enter end date :
Date Time a b c
01-01-2000 12:00:00 am 230 0.12 0.01
01-01-2000 12:02:00 am 231 0.13 0.02
01-01-2000 12:04:00 am 232 0.14 0.03
01-01-2000 11:58:00 am 232 0.14 0.03
now i am getting data value for a,b,c but
not properly date and time along with that.
secondly i want the insert statement should be
equals to total variable.
Knute Snortum wrote:There seems to be something wrong with these lines (100, 101)
Where do d_f and tf come from? And timestamp is not declared.
Other things: you are not using the generic form of Lists and sometimes you are not using imports. So this line (26)
would be better as
d_f anf tf is commented code, tried your options too but not getting desired output i just want to print date and time after device_id not in starting