I want to change a value from int
or string
format to datetime
format. There is any function in SQL like the following?:
Function: Result TimeAdd( nextrundate,"sec",45) 00:00:45 TimeAdd( nextrundate,"min",45) 00:45:00 TimeAdd( nextrundate,"hour",4) 04:00:00 But: TimeAdd( nextrundate,"min",70) 01:10:00 TimeAdd( nextrundate,"min",190) 03:10:00
Is there a method that does this in C# also?