How do I automatically label my headings, figures, equations?

Oh, neat feature. Here is a link about how date/time can be inserted: Insert Date / Time Question - #8 by david - Support - Discourse Meta. Now I can make my posts even better.