I wanted to have a snippet that automatically adds the time and date to the file.
Asked
Active
Viewed 61 times
1 Answers
0
You can't do this with snippets, as they can't handle dynamically-generated data like datetimes. Instead, you need a plugin to generate the information on the fly. Fortunately, some already exist in Package Control.
Timenow
looks like a good one, although I haven't used it personally. I have used InsertDate
and really like it. It's very configurable and allows for time zone customization, among other features. It also has very good documentation.

MattDMo
- 100,794
- 21
- 241
- 231