PHP : Array Functions Tutorial – Part 3
This is continuation to Array Functions Tutorial. Previous Articles can be read from here
PHP : Array Functions Tutorial – Part 2
This is continuation to Array Functions Tutorial. Previous Articles can be read from here
PHP : Array Functions Tutorial – Part 1
Previously I had written articles about array and its functions, but that was limited as I had posted only those functions which are used the most.
Function : Converts a MySQL Timestamp to Unix
Converts a MySQL Timestamp to Unix
Function : Converts GMT time to a localized value
Converts GMT time to a localized value This function takes a Unix timestamp (in GMT) as input, and returns the local value based on the timezone and DST setting submitted.
Function : Converts a local Unix timestamp to GMT
Convert Local UNIX Timestamp to GMT This function converts local unix timestamp to GMT time format. It accepts local unix timestamp as input parameter. This is very simple function made using php time and date functions.
Function : Get number of days in month
Number of days in a month This function takes a month/year as input and returns the number of days for the given month/year. It takes leap years into consideration. It takes month and year as parameter, both should be integers.
Function : Check if array index is set and whether it has a value.
Array Index Set This function lets you determine whether an array index is set and whether it has a value. It takes array item, array and default value as parameters. If the element is empty it returns FALSE or whatever you specify as the default value.


An article by





