potresti fare così:
codice:
GetSQLValueString(preg_replace("/([\d]{2})([\/])([\d]{2})([\/])([\d]{4})/","\\5-\\3-\\1",$_POST['data']), "date"),