|
The PHP Date Library
In this code sample we will
SnipIE lets you save,
100% secure private
is collection of
take a look at how to
organize and annotate
point-to-point conversations
professional native PHP
display date or time in our
snippets of useful web
functions to work with
HTML pages. In PHP
content (news items,
dates. It does not require
date() function can be
definitions, tips, product
any PHP extensions. This
used for to display in
info, prices, web forms,
library includes most useful
different ways. Let's see
contact information etc.).
functions to work with
our sample.
Also includes Internet Time
dates. It includes functions
Sync - to keep your PC clock
to validate the date, shift
up to date.
date by given amount of
days, calculate difference
between two dates, calculate
week number for given date
and much more.
It properly
handles leap years and is
ISO compatible.
Professional programmer
has spent 3+ days to study
the subject, code the
library, write manual and
put it all here.
Date: Sep, 27 2006 Date: Aug, 31 2006 Date: Jun, 15 2004 Date: Dec, 05 2003 |
|
Based around the
functionality of the PHP
date() function, it
returns date and time
information in a format
based upon arguments it is
fed. Essentially, it takes
one date string/object and
transforms it to a different
format. The ASP
FormatDateTime function is
extremely limited. This
provides an alternative
which gives you far greater
control over how the date is
returned.
Date: Nov, 12 2001 |