Closed. This question needs details or clarity . It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post .
Closed 4 years ago.
Improve this question
Can anyone say how to split the a day with 7 hours difference
Eg:
29/09/2018 00:00:00 - 29/09/2018 24:00:00
to
29/09/2018 07:00:00
29/09/2018 14:00:00
29/09/2018 21:00:00
2条答案
按热度按时间xytpbqjk1#
You could use CROSS APPLY to make one row with a date column appear 3 times, each with a different time. This can be done like this:
xoefb8l82#
If you are doing it in C# You can select a Start time of a day then add 7 hours to it
Inform me is that what you want .