VS Code tips — Using the current date/time in snippets

preview_player
Показать описание
Today's VS Code tip: date/time snippet variables

Just write $CURRENT_YEAR in a snippet to insert the current year. Very useful for file header snippets.

Рекомендации по теме
Комментарии
Автор

How can I add Modified time & date in a file?
I am using Current date and time in a snippet for C++ file. So, when I trigger the snippet, I get creation time of the file.
Then I want another Current time for every time I save the file. So, it will be the last modified time of the file.
How can I do it??

supersakib
join shbcf.ru