BuildDateTime

This property of the Project object tells you when the project was last built.

Usage

tLastBuild = prjProject.BuildDateTime
BuildDateTime gives you a programmatic way to find out when a project was last built. It shows you the same information that's in the Project Info dialog for "Last Built:". The value returned is a datetime. If the project has never been built, you get the empty datetime ({ / / : : }).

Example

IF TTOD(Application.ActiveProject.BuildDateTime) < DATE()
   WAIT WINDOW "Haven't built this project today" NOWAIT
ENDIF

See Also

ActiveProject, Build, Project, Projects


Back to Table of Contents

Copyright © 2002-2018 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. Click for license .