How do I split the a datatable by Start and End time fields and by interval time of 5 minutes?
Thanks in advance,
How do I split the a datatable by Start and End time fields and by interval time of 5 minutes?
Thanks in advance,
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 30, 2013, 8:17 AM EDT
Please provide more details.
Regards,
Iftikar
diamond diamond131 reputationPosted Jul 30, 2013, 9:07 AM EDT
I have a table with some fields, that two of the fields are start time, and another end time.
I should cluster this table, due to large mount of it, I want to partially cluster it, my mean is that with time period of 5 min I choose rows of table to cluster.
Time period of 5 min, is the rows of table which their end time between 0 to 5 min select to cluster, then rows which end times are between 5 to 10 are selected and so on.
Please help me to know the best way to split table with time period.
Thanks in advance,
Posted Jul 30, 2013, 12:20 PM EDT
diamond diamond131 reputationPosted Jul 30, 2013, 12:29 PM EDT
Please help me, I need urgently for tomorrow.
VulpesRank #55 · 29.2K reputationPosted Jul 30, 2013, 2:58 PM EDT
For example, if 'dt' represents your DataTable:
diamond diamond131 reputationPosted Jul 30, 2013, 4:32 PM EDT
VulpesRank #55 · 29.2K reputationPosted Jul 31, 2013, 1:04 AM EDT
diamond diamond131 reputationPosted Jul 31, 2013, 1:27 AM EDT
Let me to test and run this code.
diamond diamond131 reputationPosted Jul 31, 2013, 1:48 AM EDT
My prog gives an error, I want this time window for clustering which you had helped me.
May I have your mail to send the program to know more about problems???
Thanks in advance,
VulpesRank #55 · 29.2K reputationPosted Jul 31, 2013, 3:08 AM EDT