Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# convert datetime to timespan

Add .TimeofDay to the datetime value to make it of type TimeSpan

DateTime.TimeOfDay
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #datetime #timespan
ADD COMMENT
Topic
Name
2+9 =