How to Get End Time from start time and total time

Posted by Paraszalariya12 under C# on 5/1/2013 | Points: 10 | Views : 1320 | Status : [Member] | Replies : 1
hello,
i have an three textbox
1) txt_operation_Start_date.text=05/01/2013
2) txt_surgry_time.text=10:00
3) txt_start_surgery_time.text=10:20 PM
4) txt_end_surgery_time.text=???
5) txt_operation_end_date=???

i don't know how to find the end surgery time in Am/PM Format and Find Operation End Date.plz Help me...




Responses

Posted by: Niladri.Biswas on: 5/6/2013 [Member] Platinum | Points: 25

Up
0
Down
Look into the Datetime class.

http://msdn.microsoft.com/en-us/library/system.datetime.aspx

http://www.dotnetperls.com/datetime

Best Regards,
Niladri Biswas

Paraszalariya12, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response