generate a datetime stamp in the source code

Hi,
Is there a way to stuff into the source code current date and time? reason, when I modify the code I like to put in the comment date and time modified, if IDE can do this, that's better, thanks.
Angelo

2 comments

If you use CVS for version control, you can use $Header$ or one of the other keywords that is expanded.

0

Hello Angelo,

Is there a way to stuff into the source code current date and time?
reason, when I modify the code I like to put in the comment date and
time modified, if IDE can do this, that's better, thanks.


You can define a live template with the date() and time() macros and use
it when you need to insert the date.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.