Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to set break timings according to shift.it means i have checkboxes when i will check 1 checkboxe that time i want to store 4 break timings same for next selection of checkboxes plz help me?
Posted
Updated 26-Mar-14 22:41pm
v2
Comments
Bala-Seequel 27-Mar-14 3:01am    
1. Pls can you say in exact as what kind of solution your searching for ?
2. And is it in c# or sql ?
Member 9027346 27-Mar-14 4:42am    
c#.i want to set timings like hh:mm:ss we can change timing.i want to show only timepicker without dates
MK-Gii 27-Mar-14 4:53am    
You're still not being clear about the solution.

Be more specific in details and exactly (this is the right word) are you trying to get.

DateTime date=DateTime.Now.ToString("hh:mm:ss");
or yourDate.ToString("hh:mm:ss");
 
Share this answer
 
Convert.ToDateTime(testTime.ToShortTimeString)

1/1/2014 02:15:10 PM -----02:15:10 PM
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900