Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: flup on October 14, 2006, 07:32:53 pm

Title: How to add the current time to a file created by a filetemplate?
Post by: flup on October 14, 2006, 07:32:53 pm
Hi,
Im new to cb and got the following problem:
I will make a filetemplate where the time of creation is included, but i dont know how to do this.
I already searched the wizard scripting commands but i didnt find a function that helps me.
Is there a way to add the current time to a file created by a filetemplate?
Title: Re: How to add the current time to a file created by a filetemplate?
Post by: stahta01 on October 14, 2006, 09:21:36 pm
I would look at http://wiki.codeblocks.org/index.php?title=Builtin_variables#Time_and_date
I do not use templates so no idea if it helps you.

Tim S