fixed indentation and docs
fixed updatedate timestamp, it's already a unix timestamp
use rex_sql::datetime()