Changed ConvertDate to direct call $modx->toTimeStamp