CBQE-0: tuq: fix order of arguments for date fns

Change-Id: Ie58e1f715b48f49e80a9637057274caa080122c6
Reviewed-on: http://review.couchbase.org/36462
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>