PHP Language - Builtin Functions
The PHP Array Function
A PHP array is a special type of variable that stores and organizes data. What makes an array variable special is that it can store more than one value; in fact, you can store as many values in one array as you need. It is very easy to create a new array using the PHP array function.
The PHP Date Function
The PHP date() function is one of the most useful built-in functions. There are many uses for the PHP built-in date() function. You can use it to simply collect and display the current date and time on you webpages. You can also use the date() function as a timestamp in your PHP programs.
The PHP Date Function Format Chart
PHP date() function is one of the most useful built-in functions. Below is the syntax and description for the various format controls.
The PHP Getdate Function
Working with time is a frequent task for most PHP programs. In a shopping cart program you would want to store the date and time of a purchase made by your customer. One way to do this is to store them in a Unix timestamp and use the getdate function to display the information on a webpage.
The PHP Mktime Function
You can use PHP to easily find the current, local time and date but you do not always want to work with the current or actual time. In many cases, you will need to work with a specific, arbitrary date and time. To work with this specific time and date, you first use the built-in PHP mktime function.
The PHP Printf Function And Type Specifiers
The PHP printf( ) function works much like the print( ) function in that it outputs (prints) a string (argument) to the web browser. However, you will use the printf( ) function when you want to control how this argument will be formatted.
The PHP Strtotime Function PHP Homepage | Editor's Picks Articles | Top Ten Articles | PHP Site Map
The PHP strtotime function is used to store a Unix timestamp as a value of a variable. But what makes this PHP function so versatile is the list of human keywords and abbreviations that you can use to create a specific timestamp.
Think your link belongs here? Use the contact page to let this editor know.