I can imagine a programmable eeg device such as emotiv being set up to read the time when a certain brainwave pattern is recorded, when you want to know the time you will the thought that triggers the program, then hear it in your dream through earphones connected to your sleeping body.