time based application

Aug 28 2012 3:33 AM
hi sir,
how to develop time based application
ex:this app open in evng 4pm closeing time 4am automaticalley how to develop this app 
next day automatically open evng 4pm closing time 4am plz give me ans plz