GetPlaybackDateTime
- get bar replay position date/time

Date/Time
(AFL 3.0)


SYNTAX GetPlaybackDateTime()
RETURNS NUMBER
FUNCTION The function returns bar replay playback position in datetime format, or zero if bar replay is NOT active
EXAMPLE pt = GetPlaybackDateTime(); // new function to retrieve playback position date/time,
//returns zero if bar replay is NOT active

if( pt )
{
  
Title = "Playback time: " + DateTimeToStr( pt );
}
else
{
  
Title = "Bar Replay not active";
}

SEE ALSO DateTime() function , DateTimeConvert() function , DateTimeToStr() function

References:

The GetPlaybackDateTime function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference