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