<?php
//2008-10-14 00:00:00
$beginDate = date("Y-m-d H:i:s", strtotime( $_POST&#91;'beginDate'&#93;));
$endDate = date("Y-m-d H:i:s", strtotime( $_POST&#91;'endDate'&#93;));

$query="SELECT Email FROM Customer WHERE UDFDate2 BETWEEN '$beginDate' AND '$endDate' ";
?>

Pin It on Pinterest

Share This