Date and time functions return a string, numeric, or date and time value when given a date and time input value. ADD MONTHS. MONTHS ADD (datetime, n) The datetime operand can be an ANSIDATE, TIMESTAMP, CHAR, VARCHAR, NCHAR, or NVARCHAR, with n being an integer.
PHP is a programming language that is used to create webpages, applications, and other software. It has a wide range of date and time functions that allow you to work with dates and times in a variety of ways.
Date and time functions in PHP are used to create date and time values. These functions can be used to generate date values, time values, and strings.
The first way is to include the function date() and then using the strtotime() function to get the current date. The second way is to use the strtotime() function and then use either mktime(), gmdate(), or localtime().
Learner's Ratings
4.2
Overall Rating
64%
21%
7%
5%
3%
Reviews
G
Gangasagar Prajapati
5
excellent
R
RAVAN RATHORE
5
Good
K
krishnaraj prabhu
4
excellent
F
Faizal
5
good for all youtuper.
V
VAISHNAVI RAJESH CHALKE
5
good job
J
Javed Khan
5
Lover you method of teahing. Every topic explained on very detail. Thank you
T
Tanuja S
5
Excellent Teaching
S
Shaikh Taukeeruddin
5
Explaining each and every concept very deeply
M
Montu Kumar
4
highly recommended.
P
Prince Gupta
5
Aap log mushkil cheezo ko kitni asaani se samjha dete hain , great
Share a personalized message with your friends.