Ask a Question related to Macromedia Director Lingo, Design and Development.
-
ali_bongo_ webforumsuser@macromedia.com #1
Converting Time to ms
Hi there
Is it possible to get Director MX to convert time i.e. 00:05:00 (hours, minutes, seconds) into milli seconds (300,000 ms).
Any help would be greatly appriciated - Thanks in advance.
ali_bongo_ webforumsuser@macromedia.com Guest
-
Converting the time from one timezone to another
I asked a question about a week ago about how to get my local time, since my application is running on a server halfway around the world. I have... -
Converting a folder of word documents to PDF at one time
I've search for a way to convert a folder full of word documents to PDF's at one time. I've been selecting all of the documents, then right clicking... -
ASP integer date/time converting problems
Hi Rob, This is definitely not a UTC conversion. I don't know what kind of notation it is. The best way to converting this date is by using your... -
Converting Time between timezones?
Hi, ruby comes with the standard unix time conversion functions such as gmtime and localtime. Is there a simple method to convert time into... -
Formatting a time field to 24 hour time (Military time) in the Datagrid
Anyone know how to do this? -
Andrew Morton #2
Re: Converting Time to ms
tim="00:05:00"
the itemDelimiter=":"
if tim.items.count<>3 then
alert("Bad time " & tim)
ms=0
else
ms=(((integer(tim.item[1])*60+integer(tim.item[2]))*60)+integer(tim.item[3]))*10
00
end if
Andrew
Andrew Morton Guest
-
Andrew Morton #3
Re: Converting Time to ms
....and watch out for the awful line wrapping.
Andrew
Andrew Morton Guest
-
Mark A. Boyd #4
Re: Converting Time to ms
On 23 Oct 2003, "ali_bongo_" [email]webforumsuser@macromedia.com[/email] wrote:
put HMStoFrames("00:05:00",1000,0,0)> Is it possible to get Director MX to convert time i.e. 00:05:00
> (hours, minutes, seconds) into milli seconds (300,000 ms).
-- 300000
--
Mark A. Boyd
Keep-On-Learnin' :)
Mark A. Boyd Guest
-
ali_bongo_ webforumsuser@macromedia.com #5
Re: Converting Time to ms
Thanks to everyone that helped.....much appriciated (very useful)
ali_bongo_ webforumsuser@macromedia.com Guest



Reply With Quote

