The ......... function parses an English textual date or time into a Unix timestamp. strtotime() strtodate() stroftime() str_to_time() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is useful for producing a timestamp based on a given date and time. mtime() mrtime() time() mktime() TRUE ANSWER : ? YOUR ANSWER : ?
Among the four PHP DateTimeZone classes given below how many are nonstatic?<br/>1. _construct()<br/>2. getName()<br/>3. getOffset()<br/>4. getTransitions() 3 4 2 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will the following script output?<br/>$time = strtotime ('2004/01/01');<br/>echo date ('H:i:s', $time); 0:00:00 12:i:00 00:i:00 12:00:00 TRUE ANSWER : ? YOUR ANSWER : ?
The getdate() function returns A string A floating-point number An integer A Boolean An array TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements can be used to add two months to the existing date? $date->modify(‘2+ months’); $date->modify(‘+2 months’); $date = modify(‘2+ months’); $date = modify(‘+2 months’); TRUE ANSWER : ? YOUR ANSWER : ?
Which method is simply an object-oriented version of date()? DateTime::modify() DateTime::setDate() DateTime::setTime() DateTime::format() TRUE ANSWER : ? YOUR ANSWER : ?
If the format is F then which one of the following will be returned? Day of month, without zeros Day of month, with leading zero Daylight saving time Complete text representation of month TRUE ANSWER : ? YOUR ANSWER : ?
.......... Returns the time of sunrise for a given day / location. datesunrise() date-sunrise() date_sunrise() date.sunrise() TRUE ANSWER : ? YOUR ANSWER : ?