In a formal letter, the date is typically written at the top right or left corner, below your address. It is usually placed before the salutation and aligns with the recipient's address.