gsc1ugs 0 Newbie Poster

Use this code

sql = "SELECT products.endDate FROM products INNER JOIN "
   sql = sql & "		auctionevents ON products.idsupplier = auctionevents.idSupplier "
   sql = sql & "	WHERE     (products.endDate > CURRENT_TIMESTAMP) AND (auctionevents.ID = "&id&")  AND (products.ListHidden <> 1)"

but if the server is not run the endDate goes past currenttimestamp and continues forward, anyone help please?