PHP References

PHP timezone_identifiers_list() Function

In this article, you will learn more about getting the information out of the timezone of a date. The timezone_identifiers_list() method returns an array that contains the identifiers of the timezone. What is the syntax of the TIMEZONE_IDENTIFIERS_LIST() function in PHP? Parameter Description what The DateTime object1 = AFRICA2 = AMERICA4 = ANTARCTICA8 = ARCTIC16 …

PHP timezone_identifiers_list() Function Read More »

PHP timezone_abbreviations_list() Function

In this article, you will learn how to get the detail about the timezone. The timezone_abbrevations_list() function returns an associative array that contains the timezone name, offset, and DST. What is the syntax of the TIoe MEZONE_ABBREVIATIONS_LIST() function in PHP? Examples of the TIMEZONE_ABBREVIATIONS_LIST() function Example 1. In this example, we use the TIMEZONE_ABBREVIATIONS_LIST() method

PHP strtotime() function

What is the syntax of the strtotime() function in PHP? Parameter Description time Required. Specifies a date/time string now Optional. Specifies the timestamp used as a base for the calculation of relative dates Examples of the strtotime() function Example 1. In this example,

PHP strptime() function

What is the syntax of the strptime() function in PHP? Parameter Description date Required. The string to parse (e.g. returned from strftime()) format Required. Specifies the format used in the date: Examples of the strptime() function Example 1. In this example,

PHP strftime() function

What is the syntax of the strftime() function in PHP? Parameter Description format Required. Specifies how to return the result: timestamp Optional. Specifies a Unix timestamp that represents the date and/or time to be formatted. Default is the current local time (time()) Examples of the strftime() function Example 1. In this example,

PHP mktime() function

What is the syntax of the mktime() function in PHP? Parameter Description hour Optional. Specifies the hour minute Optional. Specifies the minute second Optional. Specifies the second month Optional. Specifies the month day Optional. Specifies the day year Optional. Specifies the year is_dst Optional. Set this parameter to 1 if the time is during daylight …

PHP mktime() function Read More »

PHP microtime() function

What is the syntax of the microtime() function in PHP? Parameter Description return_float Optional. When set to TRUE it specifies that the function should return a float, instead of a string. Default is FALSE Examples of the microtime() function Example 1. In this example,

en English
X
Scroll to Top