in reply to Want to format date and time

This will give you most of what you need. Please let us know if you're missing anything else...