yo!!!!!! you can check the manual in php.net got my own question... how about detecting a STRING as a DATE??? do anyone knows???? data coming from database as string to be declared as a date???? i search over and over to different forums , php.net online resources but no one had tried answering my Q????? do anyone know about declaring string variables to be function as a date?? i want to detect a expiry date but since i cann't do this LOGIC if today is > expiry date then your account is expire