In this source code, you may
Shows the basic methods to
Have you ever wanted to
see how can you display date
display date, time and text
format a date in your ASP
in diffrent formats. This
in a ASP script. Examples on
pages (using VBScript) to
simple ASP code displays
different ways to display
conform with RFC-822? These
current time in short, long
the date and time presented.
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: Feb, 19 2004 Date: Jan, 14 2002 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 |