dont use of if month name is not given

try with

 date('m/d/y', strtotime('last day next month')); 

 OR

 date('m/d/y', strtotime('last day of march'));  // give the month name with of


Reference

strtotime calculates wrong when moving over to linux (webhost) from windows (localhost)
I have a UI label say "ABCDEFGH". In iPhone 6 etc wider devices I can show the complete text. In small screen devices like iPhone 5, I see text as "ABCD...". I want the following:

if(complete text can be shown) 
{
    // show UILabel with text
} else // if text can not fit in, "ABCD..." case 
{    
    // hide the UILabel
}


How can I do this?
