If you decide to take it at night as a sleeping pill to induce sleep, you can take it up to 30 minutes before or at bedtime. If you are aiming to treat delayed sleep phase syndrome, you should take it 3 hours before your desired bedtime.