BackwardDateSort Command |
|
Use the BackwardDateSort command in a Logic Template to sort results from latest to earliest record, using a field containing date-time values. Sorting granularity is one minute.
To execute a Backward Date-Time Sort request, use the BackwardDateSort command with two arguments:
BackwardDateSort( fld, pas );
BackwardDateSort Arguments
Argument |
Description |
fld |
The date-time data field on which to sort. |
pas |
The pass during which the sort is to be executed. |
Access the BackwardDateSort Dialog Box by selecting the Date-Time->Backward menu item under the Sorting category of the Logic Template editor command menu.
Examples
Command |
Description |
BackwardDateSort( PublishDate, 1); |
Sort results, during pass 1, from latest to earliest date and time contained within data field "PublishDate". |
BackwardDateSort( PublishDate, 4); |
Sort results, during pass 4, from latest to earliest date and time contained within data field "PublishDate". |