Try:
sed -i 's/^DATE:.*$/DATE: XXXX/g' filename
Answer to your 2nd question depends on how often you need to write such things. If it's a one time thing and time is limited it's better to ask here. If not, it's better to learn how to do it by using an online tutorial.
codaddict
2010-03-04 10:30:27