AW: Probleme mit Datum
Hi,
danke für die Info - habe es am Wochenende doch noch hinbekommen:
AND (`start_date` IS NULL OR `start_date` <= NOW() ) AND (`end_date` IS NULL OR `end_date` >= CURRENT_DATE() )
Wichtig: statt NOW() habe ich CURRENT_DATE(( verwendet ! Damit gehen jetzt alles (von mir ausprobierten Varianten.
Gruss Reinhard
by the way: bin ab Donnerstag auch in Zürich (ist eine Super-Stadt!!!)
Geändert von reinhardlange (14.07.2008 um 11:05:11 Uhr)
|