EnhEvents.ParseTime

[This is preliminary documentation and subject to change.]

The ParseTime property converts a SMPTE time string into a Double. This property is read-only.

Syntax

[ dTime = ] object.ParseTime( sTime ) 
 

Parts

object
Object expression that resolves to an EnhEvents object.
sTime
String that specifies the time as an SMPTE time string. This can be one of the following formats, depending on the current frame rate.
SMPTE time format Format Example
30 frames per second hh:mm:ss:ff 01:00:30:15
drop frame (29.97 frames per second) hh:mm:ss;ff 01:00:30;15
fractional seconds hh:mm:ss.dd 01:00:30.5

dTime
Double that receives the time specified in sTime in numerical format.

Remarks

You can set the frame rate using EnhEvents.FPS.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

EnhEvents.TimeStr

Examples

The following example sets the variable dTime to 342.0.

Dim dTime As Double
Dim evs As EnhEvents
Set evs = new EnhEvents
 
dTime = evs.ParseTime("00:05:42:00")