Which one of the following format parameter can be used to identify timezone? I T E N TRUE ANSWER : ? YOUR ANSWER : ?
.......... Returns the time of sunrise for a given day / location. date-sunrise() datesunrise() date.sunrise() date_sunrise() TRUE ANSWER : ? YOUR ANSWER : ?
Among the four PHP DateTimeZone classes given below how many are static?<br/>1. listAbbreviations()<br/>2. getName()<br/>3. getOffset()<br/>4. listIdentifiers() 1 3 4 2 TRUE ANSWER : ? YOUR ANSWER : ?
What will the following script output?<br/>$time = strtotime ('2004/01/01');<br/>echo date ('H:i:s', $time); 12:i:00 0:00:00 12:00:00 00:i:00 TRUE ANSWER : ? YOUR ANSWER : ?
If the format is F then which one of the following will be returned? Day of month, with leading zero Daylight saving time Complete text representation of month Day of month, without zeros TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); TRUE Invalid FALSE Valid TRUE ANSWER : ? YOUR ANSWER : ?
What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?<br/>echo gmmktime(0, 0, 0, 1, 1, 1970); It would output the number 0 It would output nothing It would output the number -1 It would output the number 1 TRUE ANSWER : ? YOUR ANSWER : ?
Which method is simply an object-oriented version of date()? DateTime::format() DateTime::setTime() DateTime::setDate() DateTime::modify() TRUE ANSWER : ? YOUR ANSWER : ?