Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

At work, we have a welcome screen w 2

Status
Not open for further replies.
Dec 24, 2001
857
GB
At work, we have a welcome screen which gives a bit of information about the place. On top of all this information, I've now been asked to add 'Days since last lost-time accident'. Obviously this is going to have to be updated everyday, and rather than do that, I was wondering how to do the following:

1) Use the SetVariable command to for example set 'Last' as a date.
2) Have a box which determines how many days ago 'Last' is e.g. Last = 01/01/02...date in box says '3 days since last accident'. The presentation will be continuous, so flash would have to update this box each day while it is running (sorta like refresh).

Thanks...
 
not including the days 8th August 2001 and January 7th 2002, I calculate the number of days as 152 also.

My first script will give you 153 because it includes the day of the crash. But on my second script the days calculated are 152.


dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top