Ad block is installed and active. Please support us by disabling it.
HomeMonday, January 22, 2018, 18:19:39
1

PHP getdate

Tuesday, February 10, 15, 13:15:23, 3 Yaers Ago Via wain, Hits: 3297
Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given.
Example:
Code:
<?php
echo"<pre>";
$currentDate = getdate();
print_r($currentDate);
echo"</pre>";
?>

/////////////
//Output
/////////////


[seconds] => 34
[minutes] => 56
[hours] => 8
[mday] => 27
[wday] => 1
[mon] => 9
[year] => 2010
[yday] => 269
[weekday] => Monday
[month] => September
[0] => 1285602994

Sign In

Sponsor

Related

Syntax highlighting in Smarty

Syntax highlighting for Smarty - Google Code Prettify

Upload File with PHP

Basic file uploading with PHP

PHP DateTimeZone

PHP representation of time zone

ShoutBox 1.1. PHP Script

ShoutBox allows your users to post short messages on your site. The script is lightweight and very easy to install and use.

php Array

These functions allow you to interact with and manipulate arrays in various ways. Arrays are essential for storing, managing, and operating on sets of variables.

Smarty Paginate Example - Smarty Pagination with PHP

Smarty Paginate Example, Smarty Pagination with PHP. SmartyPaginate: a class/plugin for data set pagination within the Smarty template environment

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

E-Cards 1.1. PHP Script

This script will allow your visitors to send e-cards to their friends. It features admin notification and HTML output.To use the "e-cards" script completely free , the "powered by" link at the bottom of the pages must stay intact.

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

Preg_Match - PHP Email Validation

Validate email with preg_match in php
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.