stamp function

Format dates and times based on human-friendly templates