is there improved proceed midnight tomorrow?


is there improved proceed this?



-(nsdate *)getmidnighttommorow {
nscalendardate *now = [nscalendardate date];
nscalendardate *tomorrow = [now datebyaddingyears:0 months:0 days:1 hours:0 minutes:0 seconds:0];
relapse [nscalendardate datewithyear:[tomorrow yearofcommonera]
month:[tomorrow monthofyear]
day:[tomorrow dayofmonth]
hour:0
minute:0
second:0
timezone:[tomorrow timezone]];
}


note i always wish unbroken midnight, even happens midnight i call, however happens 23:59:59, i impetus wish midnight opening second.



the healthy libel functions seem flaky, i'm certain cocoa i pass 32 "day" field. (if that'd work i dump [now datebyaddingyears:...] call)



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members