Get bedtime information at any time

I’d like to create an event about the bedtime in the calendar to arrange my day. But now I can get bedtime until the notification triggers. So, is there anyway I can use tasker to get the bedtime information?