c# - Is there a way to convert a DateTimeOffset into minutes since midnight? -


is there way convert datetimeoffset minutes since midnight?

i want offset part reflected in answer gives.

datetimeoffset.utcdatetime.timeofday.totalminutes 

returns number of minutes since midnight original date/time offset subtracted

so if date/time = jan 2 2013 , offset =8 hours, return 16 hours (since jan 1 midnight)


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -