He actually said "like 5th August".
He never said it came from a date stamp, form field, or anywhere else. Here merely asked how he could keep the value '05' instead of PHP changing it to 5.
Perhapse my misunderstanding, but I assumed he was assigning the value like:
$day = 05;
$string = $day . "th August";
and getting "5th August" when he really wanted "05th August" or something to that affect. In this case he is never using it as a numeric value and I simply sugested he do the original assignment as a character string if that is how it is being used.