An LED lamp with dual mode operation adapted to be inserted into a fluorescent lamp fixture (100, 115, 120, 130), wherein the fluorescent lamp fixture (100, 115, 120, 130) is wired so as to supply to the LED lamp either power mains or power from an electronic ballast (122, 123) supplying AC power at a ballast frequency, the LED lamp comprising: a) an elongated housing having first and second ends; b) the first end of the elongated housing being provided with first and second power pins (104, 106); c) the second end of the elongated housing being provided with a third power pin; d) a first circuit intended to provide power to at least one LED contained within the elongated housing; the foregoing at least one LED adapted to be powered in a first mode from the power mains and to provide light along a length of the elongated housing; e) a second circuit intended to provide power to at least one LED contained within the elongated housing; the foregoing at least one LED adapted to be powered from the electronic ballast (122,123) in a second mode and to provide light along a length of the elongated housing; characterized in that, when the LED lamp is inserted into the fluorescent lamp fixture (100, 115, 120, 130), said first mode occurs when the fluorescent lamp fixture (100, 115, 120,130) has power contacts (105, 107, 125, 127) that receive the first and second power pins (104, 106) and that are directly connected to said power mains supplying power at a mains frequency much lower than the ballast frequency; the second mode occurs when the fluorescent lamp fixture (100, 115, 120, 130) has power contacts (105, 107, 125, 127) that receive the second and third power pins (106, 124), at opposite lamp ends, and that are connected to said electronic ballast (122, 123) for receiving power therefrom; f) the first circuit is adapted to limit current provided to the at least one LED adapted to be powered in the first mode; whereby g) the second circuit includes a rectifier circuit (230, 282) adapted tc receive power from the second and third power pins (106, 124); wherein the LED lamp further comprises: h) a first conduction control means serially connected between the second power pin and the rectifier circuit (230, 282) adapted to permit the second circuit to power the at least one LED adapted to be powered in the second mode when the second and third power pins (106, 124), at opposite lamp ends, are connected to said electronic ballast (122, 123); the first conduction control means being one of a first capacitor or a first switch or a short circuit; and i) a second conduction control means serially connected between the third power pin and the rectifier circuit (230, 282) adapted to permit the second circuit to power the at least one LED adapted to be powered in the second mode when the second and third power pins (106, 124), at opposite lamp ends, are connected to said electronic ballast (122, 123); the second conduction control means being one of a second capacitor or a second switch or a short circuit. a) an elongated housing having first and second ends; b) the first end of the elongated housing being provided with first and second power pins (104, 106); c) the second end of the elongated housing being provided with a third power pin; d) a first circuit intended to provide power to at least one LED contained within the elongated housing; the foregoing at least one LED adapted to be powered in a first mode from the power mains and to provide light along a length of the elongated housing; e) a second circuit intended to provide power to at least one LED contained within the elongated housing; the foregoing at least one LED adapted to be powered from the electronic ballast (122,123) in a second mode and to provide light along a length of the elongated housing; characterized in that, when the LED lamp is inserted into the fluorescent lamp fixture (100, 115, 120, 130), said first mode occurs when the fluorescent lamp fixture (100, 115, 120,130) has power contacts (105, 107, 125, 127) that receive the first and second power pins (104, 106) and that are directly connected to said power mains supplying power at a mains frequency much lower than the ballast frequency; the second mode occurs when the fluorescent lamp fixture (100, 115, 120, 130) has power contacts (105, 107, 125, 127) that receive the second and third power pins (106, 124), at opposite lamp ends, and that are connected to said electronic ballast (122, 123) for receiving power therefrom; f) the first circuit is adapted to limit current provided to the at least one LED adapted to be powered in the first mode; whereby g) the second circuit includes a rectifier circuit (230, 282) adapted tc receive power from the second and third power pins (106, 124); h) a first conduction control means serially connected between the second power pin and the rectifier circuit (230, 282) adapted to permit the second circuit to power the at least one LED adapted to be powered in the second mode when the second and third power pins (106, 124), at opposite lamp ends, are connected to said electronic ballast (122, 123); the first conduction control means being one of a first capacitor or a first switch or a short circuit; and i) a second conduction control means serially connected between the third power pin and the rectifier circuit (230, 282) adapted to permit the second circuit to power the at least one LED adapted to be powered in the second mode when the second and third power pins (106, 124), at opposite lamp ends, are connected to said electronic ballast (122, 123); the second conduction control means being one of a second capacitor or a second switch or a short circuit.