Until when during the day may one put on Tefillin?
One is not to don Tefillin after Shekiah/sunset. [See Q&A!]
If one did not put on Tefillin the entire day, may he do so after sunset, before Tzeis Hakochavim?
May one put on Tefillin by Mivtzaim after sunset?
If one is already wearing Tefillin must he remove them when night enters?
Past Sunset: If one is wearing Tefillin before sunset he does not need to remove the Tefillin when sunset arrives.
Past Tzeis Hakochavim: When nightfall arrives [Tzeis Hakochavim] one is to remove his Tefillin if he is in a public area. If however one is in private, in an area without any other peple, he does not need to remove the Tefillin even after nightfall. Likewise if one is in a Beis Midrash, even if there are other people around, he may continue wearing them.
Erev Shabbos and Erev Yom Tov: On Erev Shabbos and Erev Yom Tov one must remove the Tefillin prior to sunset.
 Siddur Admur; Implication of Beis Yosef 30; opinion in P”M 30 A”A 2
Ruling of Admur in Shulchan Aruch and other Poskim: In the Shulchan Aruch 30/2 [see also 18/8 regarding Tzitzis] Admur rules that one may don Tefillin until nightfall/Tzeis Hakochavim. So rules also the M”A 30/2; Mordechai [brought in Beis Yosef ibid]
 The reason: Perhaps Admur in the Siddur follows the ruling of the Rambam that Biblically prohibits wearing Tefillin after sunset. [See Rambam 4/10]
 P”M 30 A”A 6; M”B 30/2 and 5
Does this apply even according to Admur in the Siddur? Some write that the ruling of Admur in the Siddur does not apply to one who did not yet don Tefillin that day. [Rav Ginzberg in Hiskashrus 783; Author of Piskeiy Teshuvos brought in Hiskashrus 807] Others argue that perhaps according to Admur in the Siddur doing so is forbidden. [Rav Raskin in Miluim on Siddur]
 M”B ibid
 Poskim of previous Question; This applies even in accordance to those who follow the ruling of Admur in the Siddur: Rav Ginzberg in Hiskashrus 783/787/800/807; Author of Piskeiy Teshuvos brought in Hiskashrus 807,
 Author of Piskeiy Teshuvos ibid
 As many Poskim rule Tefillin may be worn even initially until nightfall with a blessing, and so rules Admur in 30/2. Hence why be stringent on them like the ruling of the Siddur. [ibid]
 Siddur Admur
 The reason: From the letter of the law, it is only forbidden to don the Tefillin at night, however if one had them on prior to nightfall [Tzeis Hakochavim] he may continue wearing them past nightfall. Nevertheless, we do not rule this way practically [Halacha Vein Morin Kein] due to worry that one may come to initially don them at night. Thus one should not continue wearing them in the presence of other people so people don’t come to think it is permitted to wear Tefillin at night. [ibid]
 The reason: As in a Beis Midrash the people are knowledgeable and aware that you cannot initially put Tefillin on at night. [ibid]
 Siddur Admur