PHP Date and Timestamp The date() function returns ___ representation of the current date and/or time. Integer Boolean Float String Integer Boolean Float String ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone? It depends on the number of hours between the local time zone and GMT The two will only match if the local time zone is GMT None of these There is no difference The two will never match It depends on the number of hours between the local time zone and GMT The two will only match if the local time zone is GMT None of these There is no difference The two will never match ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp If the format is F then which one of the following will be returned? Daylight saving time Day of month, with leading zero Complete text representation of month Day of month, without zeros Daylight saving time Day of month, with leading zero Complete text representation of month Day of month, without zeros ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Say you want to calculate the date 45 days from the present date which one of the following statement will you use? totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) totime(“+45 days”) totime(“+45”) strtotime(“-45 days”) strtotime(“+45 days”) ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp Which of the following statements can be used to set the time zone in individual scripts? date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); date_set_timezone(‘Europe/London’); date_set_default_timezone(‘Europe/London’); date_default_timezone_set(‘Europe/London’); date_default_timezone(‘Europe/London’); ANSWER DOWNLOAD EXAMIANS APP
PHP Date and Timestamp How many constants does the DateTime class have? 10 11 8 9 10 11 8 9 ANSWER DOWNLOAD EXAMIANS APP