Home / MCQ Bank / Computer
Computer Date And Timestamp Difficulty: Medium

What will be the output of the following PHP code if date is 24/02/2008? <?php $date = new DateTime () ; echo $date- > format( 'l,F,js,Y' ) ?>

Select the correct option to test your answer:

More Computer Questions

"out" is implicit object of which class? Which is not a valid file system? Which of the following is not a correct (X)HTML rule? What will be the output of the following C++ code? #include <iostream> using namespace std; class sample { private: int a, b; public: void test() { a = 100; b = 200; } friend int compute(sample e1); }; int compute(sample e1) { return int(e1.a + e1.b) - 5; } int main() { sample e; e.test(); cout << compute(e); return 0; } How do you find the number of seconds between two Time objects in Ruby?