function SetTimeAlign($aStartAlign,$aEndAlign)
Description
Specify the start and end alignment with the time granularity. For date granularity see SetDateAlign(). Note that only one of SetDateAlign() and SetTimeAlign() can be used. For start and end alignment the following values are valid
1. Alignment on seconds
* MINADJ_1, Align on a single second (This is the lowest resolution)
* MINADJ_5, Align on the nearest 5 seconds
* MINADJ_10, Align on the nearest 10 seconds
* MINADJ_15, Align on the nearest 15 seconds
* MINADJ_30, Align on the nearest 30 seconds
2. Alignment on minutes
* MINADJ_1, Align to the nearest minute
* MINADJ_5, Align on the nearest 5 minutes
* MINADJ_10, Align on the nearest 10 minutes
* MINADJ_15, Align on the nearest 15 minutes
* MINADJ_30, Align on the nearest 30 minutes
3. Alignment on hours
* HOURADJ_1, Align to the nearest hour
* HOURADJ_2, Align to the nearest two hour
* HOURADJ_3, Align to the nearest three hour
* HOURADJ_4, Align to the nearest four hour
* HOURADJ_6, Align to the nearest six hour
* HOURADJ_12, Align to the nearest tolw hour
Partager