see #95: using date() function (orientdb side) to make orient store a date with sql commands