Updated from DATETIME to unsigned integer for unix time