Shows the basic methods to
In this source code, you may
Have you ever wanted to
display date, time and text
see how can you display date
format a date in your ASP
in a ASP script. Examples on
in diffrent formats. This
pages (using VBScript) to
different ways to display
simple ASP code displays
conform with RFC-822? These
the date and time presented.
current time in short, long
are required for various
and regional settings.
things but in particular
they are required format for
dates in RSS feeds. While I
was producing some RSS feeds
I couldn't find any
functions that converted ASP
dates to the required
formats so I created the
following functions to do it
for you
Date: Jan, 14 2002 Date: Feb, 19 2004 Date: May, 27 2005 Date: Jan, 03 2006 |
Self explaining sort scripts
There are a number of ways to
There are several different
ASP has some very usefull
to compare dates. You may
have users input dates into
ways of displaying times.
functions to deal with date
use them to display your
your application. Dropdown
Using FormatDateTime and
and time : this tutorial let
age, time period fromm a
menus are the preferred
DatePart functions we can
you know more about how to
given date or happening etc.
method employed as
manipulate the time in many
ypou use it very easily.
(DateDiff, Timer)
there
will certainly be
different ways.
less error checking on
dropdown input as compared
to textbox
input. Utilizing
the date() functions the
current date (or any date
you prefer by adjusting the
date value) can easily be
made the pre-filled
selected
value. Here you
will find two examples: one
that displays the current
date with a range of days
prior, and the other that
displays the current date
out of all the dates in a
range
of years.
Date: Apr, 04 2002 Date: Jun, 29 2000 Date: Jun, 10 2002 Date: Nov, 12 2005 |