You obviously don't know the usage, because you're passing the strings GMT and gmt and they're converted to exactly what they're supposed to be. Neither $ctime nor $asctime take timezone abbreviations as inputs.