Direct current(DC) has no time varying field because current is constant as well as there is no relatively motion between coil and core(magnetic circuit) of the transformer. So there is no induced emf in secondary coil of the transformer. ... Thus DC supply is not used for transformer.