Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: military time clock? (was) Re: FLASH: countdown clock |
| From: | Darren Critchley |
| Date: | Tue, 3 Oct 2000 16:12:54 +0100 |
Colleen Appleton wrote:
> I'll clarify a bit more:
>
> I want a date/clock format which is used by military. The date format is
> already set up right.. ie: day / month / year
>
> The time is like this: 1700 instead of 5:00 p.m. 1730 instead of 5:30 pm...
> etc.
>
> Can anyone help?
>
I haven't had the chance to work with FLash 5, but a generic solution is once
you have the time into a variable, break it up.
ie) split it into 05 and 00 and p.m. - put them into variables such as HH, MM,
AMPM
now if AMPM is equal to p.m. then add 12 to HH
finally concatenate HH with MM to get the result of 1700.
Hope this helps, so I can't be more flash specific, but I haven't had the time
to work with F5
Darren
--
http://www.aurorainformationsystems.com/
http://persweb.direct.ca/darrenc/
http://persweb.direct.ca/darrenc/KVR/TheKVR.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: military time clock? (was) Re: FLASH, Paul Willoughby
Re: military time clock? (was) Re: FLASH, Colleen Appleton
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

