I've found the date() function with "t" returns the correct result thanks all
so check this out for more reference if anybody got same problem too! http://hk2.php.net/manual/en/function.date.php "Sheawh" <[EMAIL PROTECTED]> ¦b¶l¥ó news:[EMAIL PROTECTED] ¤¤¼¶¼g... > how can i retrieve the last day of the month? > like 31 - Jul, 30 - Jun , 28 - Feb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php