display active hours in app?

Is there a way to capture the active hours of the app or account and display that in an active app?