I am also working on something with time and converting it.
if offset (":",the time) then the itemDelimiter = ":"
else the itemDelimiter = "."
hours = value(the time.item)
minutes = value (the time.item)
if the time contains "PM" then
hours = hours + 12
startTime = (60 * hours) + minutes
Now "startTime" can be used. It has made minutes out of everything. 1 hour =
You can use the same principle for military time.
Just say if the time contains "PM" then ...
You can also find help in another growing Director forum.
Also the site has lots of samples and tutorials
On 7/8/03 5:14 PM, in article befc91$g61$1forums.macromedia.com, "McDLT"
> Anyone have some existing code that converts "the long time" to military