• 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 QUIZ

The date() function returns ___ representation of the current date and/or time.

TRUE ANSWER : ?
YOUR ANSWER : ?

................Checks a date for numeric validity.

TRUE ANSWER : ?
YOUR ANSWER : ?

Which function displays the web page’s most recent modification date?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will the following script output?<br/>$time = strtotime ('2004/01/01');<br/>echo date ('H:i:s', $time);

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following statements can be used to add two months to the existing date?

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);

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following functions do not return a timestamp?<br/>1. time()<br/>2. date()<br/>3. strtotime()<br/>4. localtime()<br/>5. gmmktime()

TRUE ANSWER : ?
YOUR ANSWER : ?

If the format is F then which one of the following will be returned?

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

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
↑