PBDR.COM

About   -   Contact   -   Purchase   -   Search   -   What's New

 
 
Date Application was Compiled
Have you ever wanted to display the date your application was last compiled automatically. Say in your about window so that when users call in with a problem they can tell you the date their version was last built?

In your window define a constant date variable and assign it to Today():

Constant Date ld_Comp = Today()

Then in your code you can assign a static text object to the string of the instance variable and it will display as the last date your application was compiled.

st_datecomp.text = String( ld_Comp )

One important thing to note is that this is the last date your window was saved so you will have to resave the window when you compile your production release to make sure the window is displaying the correct date/time.

 

Top of Page

Legal Notice

Ken Howe 2011