Among the four PHP DateTimeZone classes given below how many are nonstatic?<br/>1. _construct()<br/>2. getName()<br/>3. getOffset()<br/>4. getTransitions() 2 1 4 3 TRUE ANSWER : ? YOUR ANSWER : ?
The getdate() function returns An array A string A floating-point number A Boolean An integer TRUE ANSWER : ? YOUR ANSWER : ?
................ Formats a local time or date according to locale settings. strhtime stritime strftime strgtime TRUE ANSWER : ? YOUR ANSWER : ?
Which method is simply an object-oriented version of date()? DateTime::setDate() DateTime::modify() DateTime::format() DateTime::setTime() 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 4 2 3 TRUE ANSWER : ? YOUR ANSWER : ?
The date() function returns ___ representation of the current date and/or time. Integer Boolean Float String TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code?<br/>If say date is 22/06/2013.<br/>printf( date("t") ) JUNE 2013 30 22 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements can be used to set the time zone in individual scripts? date_set_timezone(‘Europe/London’); date_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_set_default_timezone(‘Europe/London’); TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code?<br/>If say date is 22/06/2013.<br/>echo "Today is ".date("F d, Y") Today is 22 June, 2013 Today is 22-06-2013 Today is June 22, 2013 Today is 06-22-2013 TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is useful for producing a timestamp based on a given date and time. mrtime() mtime() mktime() time() TRUE ANSWER : ? YOUR ANSWER : ?