Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
How do i Can Convert DateTime.Now to TimeSpan of Now Time?
Posted
Comments
[no name] 11-Aug-14 7:47am    
You use the appropriate constructor for the TimeSpan object. I find it's really helpful to actually look at the documentation pages for the objects that I am working with. Just to make sure that I am using them correctly.
Richard MacCutchan 11-Aug-14 8:48am    
Do you ever feel that you're swimming against a rising tide of ... ?
[no name] 11-Aug-14 9:02am    
Constantly. But not swimming exactly.... more like drowning.

1 solution

Hi, have a look at this example.
 
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