Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > Logging
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 03-23-2004, 01:36 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
How can I set the log filename based on the current date?

In the Logging options dialog (File | Properties | Logging), a value of

%PROJDIR%\%PROJROOT%\[vbld_FormatDate()].xml

for the Log filename will log to a file in the project path with the filename formatted with the current date in yyyymmdd format. It uses the system script function vbld_FormatDate.

Or, you can call the vbld_FormatDateEx() script function if different formatting is required. For instance,

[vbld_FormatDateEx(Now, "yyyy-mm-d hh-MM-SS")]

See the help for more details.
http://www.visualbuild.com/Manual/sysscriptdatetime.htm
http://www.visualbuild.com/Manual/buildlogging.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is On



All times are GMT -5. The time now is 08:33 AM.


Copyright © 1999-2023 Kinook Software, Inc.