function:CDate ( variable )return type:Datecontent:ใช้แปลง ชนิดตัวแปร ให้เป็น ตัวแปรชนิด Dateexample:vdate = CDate ( "8 มกราคม 2553" )