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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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