How do you extract the TIME from a DateTime variable?

I have a DateTime variable that holds the following value:

1/1/1900 8:30 AM

I want to extract the 8:30 AM from the value.  How do I do this?
cdemott33Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
p_davisConnect With a Mentor Commented:
that particular part is a timespan assigned to the timeofday property

Timespan tod = yourTimeVariable.TimeOfDay;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.