The Following code will print
This script contains two
Using this component you can
StrongCube Tools Component
out the date so that it's in
functions (Leap Year
perform date and time
helps you to format your
a long date format including
Capable): First will check
formatting, calculate
number and date/time into VB
the appropriate suffix - i.e
to validate a date value
elapsed time, pause your ASP
style formatting routine.
st, nd, rd. Here's the
passed as a parameters.
application, GMT date and
You can easily format your
code in action: Thursday
Second will check to
time formating and much more.
number into #,##0.00 or your
12th May 2005
validate two dates entered
date/time into dd/mm/yyyy.
and compare/check first
occurs before the second.
Functions will return a
blank string if the Date(s)
is/are valid. They will
retun a string containing an
error message if Date(s)
is/are NOT valid. You could
pass the field name as
parameter to generate a
custom Error message for the
field you are checking or
pass a blank string as a
field name to generate a
generic error message.
Date: May, 12 2005 Date: Feb, 26 2005 Date: Nov, 09 1999 Date: Dec, 29 2003 |
One of the things missing
This is a stop-clock
Based around the
ECS DateTime is a server-side
from the current version of
component for ASP. It has an
functionality of the PHP
component that can be used
ASP is the ability to
get
average accuracy of 5 milli
date() function, it returns
to access NTP Servers. It
the date/time a file was
seconds. You could use it
date and time information in
can be implemented on ASP
LastModified. Sometimes it
for timing your code, speed
a format based upon
pages or from any other COM
is useful to report the
comparisons, etc.
arguments it is fed.
enabled environment.
date/time the ASP file was
Essentially, it takes one
last physically modified.
date string/object and
This component is designed
transforms it to a different
to provide that information.
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: Jan, 04 2000 Date: Jan, 25 2000 Date: Nov, 12 2001 Date: Jun, 24 2003 |