• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP DATE AND TIMESTAMP

PHP Date and Timestamp
How many methods does the DateTime class have?

8
10
9
11

ANSWER DOWNLOAD EXAMIANS APP

PHP Date and Timestamp
How many constants does the DateTime class have?

10
11
8
9

ANSWER DOWNLOAD EXAMIANS APP

PHP Date and Timestamp
Which method is simply an object-oriented version of date()?

DateTime::setTime()
DateTime::format()
DateTime::modify()
DateTime::setDate()

ANSWER DOWNLOAD EXAMIANS APP

PHP Date and Timestamp
Which of the following is the right way to use the DateTime class?

$date = new class DateTime();
$date = get_Class(DateTime);
$date = new DateTime();
$date = class DateTime;

ANSWER DOWNLOAD EXAMIANS APP

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

Sunday, 24th February 2008
Sunday, February 24th 2008
Sunday, 24 02 2008
Sunday, 02 24 2008

ANSWER DOWNLOAD EXAMIANS APP
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »

GO TO PAGE

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑