Skip to content

Tag Archives: PHP-date-time

The timezone_name_get() function is an inbuilt function in PHP which is used to return the name of the timezone. The date time object is sent… Read More
The timezone_open() function is an inbuilt function in PHP which is used to create a new DateTimeZone object. The timezone_open() function accepts the timezone as… Read More
The timezone_version_get() function is an inbuilt function in PHP which is used to return the version of the timezone database. No parameters are required to… Read More
The gmdate() is an inbuilt function in PHP which is used to format a GMT/UTC date and time and return the formatted date strings. It… Read More
The date_sun_info() is an inbuilt function in PHP which is used to find the information about sunset/sunrise and twilight begin/end for a specified day and… Read More
The date_sunset() is an inbuilt function in PHP which is used to find the sunset time for a specified day and location. Syntax: date_sunset (… Read More
The time_nanosleep() function in PHP is an inbuilt function which is used to delay the execution of the current script for a specified number of… Read More
The date_diff() is an inbuilt function in PHP which is used to calculate the difference between two dates. This function returns a DateInterval object on… Read More
The getdate() function is an inbuilt function in PHP which is used to get date/time information of the current local date/time. Syntax: getdate($timestamp) Parameters: The… Read More
The date_sub() is an inbuilt function in PHP which is used to subtract some days, months, years, hours, minutes, and seconds from given date. The… Read More
The date_parse() is an inbuilt function in PHP which is used to find the detailed information about a specified date. This function returns an associative… Read More
The date_sunrise() is an inbuilt function in PHP which is used to find the sunrise time for a specified day and location. This function returns… Read More
The time_sleep_until() function in PHP is an inbuilt function which is used to delay execution of the current script until the specified time. The time_sleep_until(… Read More
The usleep() function in PHP is an inbuilt function which is used to delay the execution of the current script for specific microseconds. It is… Read More
The date_modify() function is an inbuilt function in PHP. Through the help of this function, we can modify or can alter the timestamp of DateTime… Read More