• 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

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 : ?

................ Formats a local time or date according to locale settings.

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is the right way to use the DateTime class?

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

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 : ?

You must make a call to ................... to specify what time zone you want calculations to take place in before calling any date functions.

TRUE ANSWER : ?
YOUR ANSWER : ?

Which one of the following format parameter can be used to identify timezone?

TRUE ANSWER : ?
YOUR ANSWER : ?

To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

.......... Returns the time of sunrise for a given day / location.

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
↑