Home » Development Area » DigiGuide Print Script » Function: GetProgrammeListForChannelDateRange

Function: GetProgrammeListForChannelDateRange


Array GetProgrammeListForChannelDateRange()

Summary

Get a list of programme indexes given a date/time range


Remarks

Looks in the programme list given to the report and extracts only those on the channel given and within the date/time range given.


Returns


Examples

var arrProgrammes = GetProgrammeListForChannelDateRange( arrChannels[ nChannel ], g_dtStartTime, g_dtEndTime );

for( var nProgramme = 0; nProgramme < arrProgrammes.length && !HasAborted(); nProgramme++ )
{
ShowProgramme( arrProgrammes[ nProgramme ] );
nPrintedProgrammes++;
SetProgress( nPrintedProgrammes, g_nProgCount - 1 );
}


See Also

  • GetChannelListFromProgrammes

    (Last updated: September 16, 2011 10:26:32)