According to The City of New York's Department of Housing Preservation & Development, the annual heat requirements between October 1st and May 31st, are as follows: Between the hours of 6:00 AM and 10:00 PM, if it is below 55 degrees Fahrenheit outside, the temperature inside must be 68 degrees Fahrenheit or above. Between the hours of 10:00 PM and 6:00 AM, if it is below 40 degrees Fahrenheit outside, the temperature inside must be 55 degrees Fahrenheit or above.
There are no heating requirements for June 1st through September 30th, no matter what the temperature is outside.
Also, the hot water requirements for all dwellings that are 3 or more stories high and were built after April 18,1929; and, all dwellings that were built after January 1, 1951 is as follows: There must be a constant minimum temperature of 120 degrees Fahrenheit at all times. For all other multiple and private dwellings that aren't included in the description above, the hot water must be at a temperature of 120 degrees Fahrenheit between the hours of 6:00 AM and Midnight, on a daily basis.
If you are not being properly provided with heat or hot water, call 3-1-1.