The gemoro says that the mitzvah of Ner Chanukah starts at shkia and lasts
“ad shetichle regel min hashuk “ (When people stop walking in the shuk.)
What other mitzvah do we find , where the time is , mishetichle regel min hashuk?
See meseches Minachos 36a
R. Yakov says you leave your Tefilin on “ad mishtichle regel min hashuk.”
(Afterwards you must remove it , so that you don’t fall asleep with the Tefillin on)