The chemical reactions and pathways involving dTMP, deoxyribosylthymine monophosphate (2'-deoxyribosylthymine 5'-phosphate).