Skip to content

Tag Archives: PHP-date-time

You are given a string which contain date and time. Date in dd/mm/yyyy format and time in 12 hrs format.You have to convert date in… Read More
cal_days_in_month() is an inbuilt function which returns the number of days in a particular month of a specified calendar. We have to pass calendar type,… Read More
The time() function is a built-in function in PHP which returns the current time measured in the number of seconds since the Unix Epoch. The… Read More
The strtotime() function is a built-in function in PHP which is used to convert an English textual date-time description to a UNIX timestamp. The function… Read More
The filemtime() function in PHP is an inbuilt function which is used to return the last time of a specified file when its content was… Read More
The fileatime() function in PHP is an inbuilt function which is used to return the last access time of a specified file. The fileatime() function… Read More
The filectime() function in PHP is an inbuilt function which is used to return the last time the specified file was changed. The filectime() function… Read More
The cal_days_in_month( ) function in PHP is an inbuilt function which is used to return the number of days in a month for a specific… Read More
The cal_info() function in PHP is an inbuilt function which is used to return information about a specified calendar. The cal_info() function returns an array… Read More