MCQOPTIONS
 Saved Bookmarks
				This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Date and Timestamp knowledge and support exam preparation. Choose a topic below to get started.
| 1. | 
                                    Suppose you want to calculate the date 45 days from the present date which one of the following statement will you use? | 
                            
| A. | totime( +45 ) | 
| B. | totime( +45 days ) | 
| C. | strtotime( +45 days ) | 
| D. | strtotime( -45 days ) | 
| Answer» D. strtotime( -45 days ) | |
| 2. | 
                                    Which one of the following function is useful for producing a timestamp based on a given date and time? | 
                            
| A. | time() | 
| B. | mktime() | 
| C. | mrtime() | 
| D. | mtime() | 
| Answer» C. mrtime() | |